Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
devices.css
Advanced tools
Readme
Devices.css - Modern devices crafted in pure CSS
All devices are elegantly developed in pure CSS. The first are newly announced iPhone X and iPhone 8. More devices are coming. You can use these minimal devices in landing and screenshot showcase pages.
Download the compiled and minified Devices.css files. Include devices.css
located in /dist
in your website or Web app <head> part.
<link rel="stylesheet" href="dist/devices.css">
Go to Demo page to copy the device HTML source code and paste it to anywhere you want. All devices use the same HTML structure with different device-[device-name]
classes.
<div class="device device-iphone-x">
<div class="device-frame">
<img class="device-screen" src="...">
</div>
<div class="device-stripe"></div>
<div class="device-header"></div>
<div class="device-sensors"></div>
<div class="device-btns"></div>
<div class="device-power"></div>
</div>
Also, there are optional device-[device-color]
classes for different color variants.
You can add any screenshot or video with the device-screen
class. The resolution aspect ratios are based on real ones.
You can custom Devices.css by modifing SASS .scss
files located in src
folder.
Devices.css uses Autoprefixer to make most styles compatible with earlier browsers. For best compatibility, these browsers are recommended:
Built with ♥ by Yan Zhu. Feel free to submit a pull request. Help is always appreciated.
Devices.css is completely free to use. If you enjoy it, please consider donating via Paypal for the further development. ♥
FAQs
Devices.css: Modern devices crafted in pure CSS.
The npm package devices.css receives a total of 1,653 weekly downloads. As such, devices.css popularity was classified as popular.
We found that devices.css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.