MinimalSize matters!
@@ -79,7 +79,7 @@
ResponsiveThink mobile!
@@ -87,7 +87,7 @@
Style-agnosticInfinitely customizable!
@@ -109,105 +109,50 @@
After downloading mini.css, pick a Flavor and use it for your project.
Alternatively, you can use either GitCDN or RawGit to import the default flavor of mini.css. Simply add one of the following references inside your HTML page's <head>
tag:
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css">-
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v2.1.2/dist/mini-default.min.css">
+
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css">+
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v2.1.3/dist/mini-default.min.css">
Finally, you can find mini.css on cdnjs, which you can use to include it in your projects.
Browser support
+
Edge12

Firefox28

Chrome26

Safari7.1

Opera17

Android4.4
Due to the way mini.css is crafted, some legacy browsers are not supported anymore and some others are partially supported. This could be a dealbreaker for some developers, however most legacy browsers will display a less feature-rich and modern website. On a side note, remember that some mobile browsers like Opera Mini, IE Mobile and UC Browser for Android are officially supported, but some features may not be displayed properly or behave as expected due to the browsers themselves.
+
Quick overview
-Take a couple of minutes to learn how mini.css differs from all those other UI frameworks (Bootstrap, Semantic UI etc):
-Name | Version | Size (uncompressed) | Size (minified) | Size (gzipped) |
---|---|---|---|---|
Bootstrap | -v3.3.7 | -143 KB | 117 KB | 20 KB | -
Material Framework | -v3.0 | -114 KB | 90 KB | 18 KB | -
mini.css | -v2.1.2 | -50 KB | 40 KB | 7 KB | -
Semantic UI | -v2.2.10 | -752 KB | 553 KB | 95 KB | -
Zurb Foundation | -v6.3.1 | -103 KB | 73 KB | 13 KB | -
-
The above comparison takes into account only the CSS files of each framework. mini.css's size is an approximation due to the nature of its flavor system. The calculated results were produced using Refresh-SF.
-
Module list
--
-
- Core - Resets, typography rules and fixes -
- Grid - Powerful, responsive flexbox-based grid -
- Navigation - Common elements for navigation -
- Input Control - Forms, buttons and inputs -
- Table - Modern, responsive tables -
- Card - Sleek, modern content containers -
- Tab - Responsive tabs and accordions -
- Contextual - Contextual highlights and alerts -
- Progress - Modern progress bars and loaders -
- Utility - Utility and helper classes -
Why does mini.css have so few modules?
-Modules are what make frameworks so powerful, by giving developers the essential components they need to structure and style their websites. mini.css simplifies the crafting and learning process for new developers by providing a handful of very powerful modules that can do many different things. This way, new developers will only have to learn a few different HTML structures and patterns, while having the ability to build a lot of interesting things with them. For example, cards can be used for almost any type of layout and can be customized to behave exactly as the developer needs them to. Tabs, on the other hand, are very responsive on mobile, collapsing to a stack below a certain width, but they can also be forced into a stack, allowing accordions and collapses to be built using the same building block as tabs.
-Browser | Not supported | Partially supported | Fully supported |
---|---|---|---|
Internet Explorer | -8- | 9-10 | 11+ | -
Edge | -n/a | n/a | 12+ | -
Firefox | -21- | 22-27 | 28+ | -
Chrome | -20- | n/a | 21+ | -
Safari | -6- | n/a | 6.1+ | -
Opera | -11.5- | 12.1-16 | 17+ | -
Android Browser | -4.3- | n/a | 4.4+ | -
-
Due to the way mini.css is crafted, some legacy browsers are not supported anymore and some others are partially supported. This could be a dealbreaker for some developers, however most legacy browsers will display a less feature-rich and modern website. Apart from the table above, note that some mobile browsers like Opera Mini, IE Mobile and UC Browser for Android are officially supported, but some features may not be displayed properly or behave as expected due to the browsers themselves.
-
Take a couple of minutes to explore what makes mini.css different from all those other CSS frameworks and UI toolkits.
+
Why should I use mini.css?
+mini.css is a lot lighter than a lot of other full-featured CSS frameworks (e.g. Bootstrap, Semantic UI), but it is not a micro framework (e.g. Milligram, Pure.CSS). Instead, mini.css blurs the line between full-featured and micro frameworks by providing lots of modules and components in a very small file. All the things you expect to find in a CSS framework, such as grids, styling for common elements and typography, along with some more complex components such as tabs or cards are all present in mini.css.
++
What exactly does mini.css provide?
+Many CSS frameworks utilize modules to deliver more components and features, without making it necessary for all developers to include them. mini.css provides a handful of very powerful modules that can do many different things. This way, developers only have to learn a few different HTML structures and patterns, while having the ability to build a lot of interesting things with them. You can see an overview of the modules below:
+-
+
- Core - Basic reset and fix rules, based on Normalize.css v5.0.0, typography and common textual element styling +
- Grid - Powerful, responsive grid system based on the Flexible Layout Module (commonly known as flexbox) +
- Navigation - Common navigational elements such as headers, footers and navigation bars +
- Input Control - Form, input element, checkbox, radio button and button styling +
- Table - Modern table styling, horizontal and preset tables, table responsiveness for mobile devices +
- Card - Sleek, modern general-purpose content containers, media embedding +
- Tab - Modern, responsive tabs, accordions and collapses +
- Contextual - Content highlight element styling, elegant alerts and accessible tooltips +
- Progress - Modern progress bar styling and spinning progress indicators +
- Utility - Utilities, visibility helper classes, responsive sizing and breadcrumbs +
+
How do I customize mini.css?
+mini.css allows you to easily customize your designs, using Flavors, pre-built color and style variants of the framework. The functionality is the same, but many things like color palettes, spacing and fonts can be easily changed by the community. Apart from that, you can easily build your own flavor by tweaking variables and using mixins, as explained in depth in the customization section.
+