
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
A CSS framework for building landing pages that lets you focus on writing content, not code!
Newly released full documentation: BOXES.CSS DOCUMENTATION
I want to launch new projects every week or two, but I need to:
🥱
Boxes.css lets me just focus on the first two steps
✅
And takes care of the rest:
It's all you need to design a beautiful landing page!
minified version
<link rel="stylesheet" type="text/css" href="https://unpkg.com/browse/boxes-css@0.5.0/boxes.min.css">
unminified version
<link rel="stylesheet" type="text/css" href="https://unpkg.com/browse/boxes-css@0.5.0/boxes.css">
always use section
elements to define boxes
Use class .media
when wanting to include an image, animation, or video on the page
img
, svg
, or video
elementUse class .content
when wanting to include headings, text, or form controls on the page
h1-h6
, p
, div
, form
, input
, button
, a
a box is a section of content (text or media) that can appear next to other sections of content
it's always responsive by default and maintains its aspect ratio where it makes sense (esp. .media
boxes)
the goal of a box is that you define how it looks on one screen size (e.g. desktop) and it automatically will adapt to look good on every other screen size (e.g. tablet & mobile)
use classes .h1
, .h2
, etc. to determine size
In order to save room, while also being accessible, boxes.css has the concept of an input that contains its own label
When the input is clicked, its label floats slightly above it so the user can type.
Example:
Syntax:
<fieldset>
<input id="email" type="email" name="email" placeholder="Enter your email address">
<label for="email">Enter your email address</label>
</fieldset>
always create media that has a 5:4 ration (width:height)
this will ensure that part of your media is never cut off on any screen size and will always look the same no matter what size device the user is viewing your website on
tip: since wide content works better on desktop and tablet and tall content works better on mobile, you may want to consider making one pieces of media in both formats (wide and tall) and only show the wide version on tablet and desktop and the tall one on mobile
viewBox
attribute.media
boxFAQs
A CSS framework for building landing pages that lets you focus on writing content, not code!
We found that boxes-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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.