Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
flex-grid-element
Advanced tools
A powerful flex based grid system
Bootstrap 5 grid weights about 51kb minified. flex-grid, on the other hand, weights 4kb of css + 2 kb of js and provide a similar feature set. Only 4kb of blocking css are between you are your dream layout!
Simply include the library
<script src="flex-grid.js"></script>
And use your grid
<flex-grid>
<div>Col 1</div>
<div>Col 2</div>
<div>Col 3</div>
</flex-grid>
The custom element is just a convenience around setting the custom styles
It just makes the whole thing neat. Also, it allows targeting of elements based on their attributes in css.
<flex-grid md="3" lg="4">
<div>col 1 of md=3/lg=4</div>
<div>col 2 of md=3/lg=4</div>
<div>col 3 of md=3/lg=4</div>
<div>col 4 of md=3/lg=4</div>
</flex-grid>
Also, using attributes makes it very clear what is related to the layout when classes can mean various things.
For usage, please look at the demo
See demo.html or https://codepen.io/lekoalabe/pen/ExWowBM
FAQs
A powerful flex based grid system
We found that flex-grid-element 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.