You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A dead-simple CSS boilerplate; it only uses element selectors to standardize styling across
browsers and reduce unnecessary class construction. Think NormalizeCSS or ResetCSS, but
customizable.
How does it work?
The boilerplate provides styling for commonly utilized features: scrollbar, anchors,
form input groups, validation, quote boxes, code, etc. They're applied with element selectors
only to reduce overhead. Stylesheet propsvar() is used so the boilerplate can be scaled
and customized easily.
Example of :rootprops.
--fontSize: 16px; --lineHeight: 1.75; /* Keep this number unitless to avoid overlap and inheritance issues. */
StandardCSS is designed to act as a bedrock / foundational layer for new themes and frameworks. If you are building
your stylesheets from scratch and want a customizable cross-browser supported boilerplate, then StandardCSS is for you.
If importing a framework or extending one, then StandardCSS is not for you.
What is included in the Foundation layer?
The foundation layer includes only few groups at the moment. However, there are plans to expand this has HTML and CSS
adopts more commonly built features. However, everything here is fully customizable via props or by messing with their
properties. Yes that also means custom checkbox, radio, quotes and search without any extra HTML markup. CSS handles
it all.
Page Building (Containers)
Headers
Main, Article, Sections
Footers
Content Handling
Header
Paragraph, Span,
Image
Delete, Emphasis, Strong, etc.
Citations
Anchors
Preformatted Text (ex. pre, code, sample)
Quotes and Blockquotes
etc...
Scrollbar (webkit browsers only)
Form Control
Various Inputs
Text, Textarea, Select, Search, Radio, Checkbox, etc.
Input Groups
Validation & Invalidation
Compatability
This HTML boilerplate is designed to work with the latest technology that is accepted by all modern browsers.
As of 7/25/2023, 94% of all users browsers', according to CanIUse, support everything in document. Except the scrollbar,
as only webkit supported browsers support this.
Accessibility
All styling following the recommendations of W3C or integrates a commonly used browser style agent implementation. Since
all elements being modified are still displayed by default, even if their appearance and aesthetic is overwritten
(ex. checkbox and radio), they still retain the accessible properties.
Licensing
Please see the LICENSE for this project regarding use.
About
A dead-simple CSS boilerplate with standardized styling for scaling and cross browser support.