Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
material-responsive-grid
Advanced tools
A grid system that adheres to the responsive UI standards outlined for Google's Material Design
A grid system that adheres to the responsive UI standards outlined for Google's Material Design. The source consists of PostCSS stylesheets that are imported in a specific order and built using postcss-cli.
npm i material-responsive-grid --save
There are three basic elements of this grid system: grids, rows, and columns.
This grid system supports six screen sizes:
This follows Google's recommendation for responsive UI breakpoints:
Most classes apply to a particular screen size. This relationship is designated by the inclusion of the screen size's abbreviation in the class name:
For screen sizes with twelve columns, a duplicate set of classes has been provided that does not include the number of columns in the screen size's abbreviation.
Grids have the following classes:
The default behavior for a grid will be to fill the viewport and preserve outer padding on edge-adjacent columns.
Rows must be contained by a Grid and have the following classes:
Columns must be contained by a Row and have the following classes:
<div class="grid">
<div class="row">
<div class="col-xs4-4 col-lg-6">
<p>This column consumes the entire row for extra-small,
small, and medium screens. For large and extra-large
screens, it consumes half of the row.</p>
</div>
<div class="hidden-md-down col-half-row">
<p>This column isn't visible for extra-small, small,
and medium screens, but is visible for large and
extra-large screens. It consumes half of the row.
</div>
<div class="hidden-sm-down hidden-up-xl col-md-12">
<p>This column is only visible for medium and large
screens and consumes the entire row.</p>
</div>
<div class="hidden-sm8-only hidden-sm-only hidden-lg-only col-full-row">
<p>This column is hidden for small and large screens
and consumes the entire row.</p>
</div>
</div>
</div>
FAQs
A grid system that adheres to the responsive UI standards outlined for Google's Material Design
The npm package material-responsive-grid receives a total of 121 weekly downloads. As such, material-responsive-grid popularity was classified as not popular.
We found that material-responsive-grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.