Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
greencss
Advanced tools
Readme
npm i greencss
import 'greencss/css/greencss.css'
import 'greencss/css/classes/animation/animation.css'
You will find all CSS categories here.
Instead of the normal version, you can also import a lightweight minified version.
import 'greencss/css/minified/greencss.css'
Compact imports also work with categories:
import 'greencss/css/minified/classes/animation/animation.css'
import 'greencss/css/minified/classes/color/color.css'
By default, all default browser settings are reset. This means that you enjoy unlimited freedom and can choose your own design. Create a default reset.css
file and specify your desired spacing, fonts, text sizes and font weights. Make sure that your reset file is imported after the greencss file. This way your file has a higher priority and you overwrite any greencss classes.
import 'greencss/css/greencss.css'.
import 'path-to-your-reset.css-file'.
By the way, when you use greenCSS, sustainability is not the only thing which is important. Writing CSS intuitively and easily is also crucial. For this reason, greenCSS has decided to reset the default font size to 62.5%. For you, this means that 1rem = 10px. This allows you to calculate in the simplified power of ten.
/* Set core root defaults */
html {
font-size: 62.5%; // default pixel size reset to 10px
}
You want to collaborate? Have a look at the documentation in the information folder.
FAQs
The classy way to write sustainable CSS.
We found that greencss 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).