Build material design interfaces in record time... without stress for devs... πΊπ
max
helper to slider
element, to be used as custom slidermin
helper to field
element, to be used as autoresize textarea (https://github.com/beercss/beercss/issues/276)progress
menu
inside table cell (https://github.com/beercss/beercss/discussions/285#discussioncomment-9087479)header
or footer
and main.responsive
auto-padding
because padding doesn't have auto value on CSS (https://github.com/beercss/beercss/issues/296)tootip
alignment inside slider
elementmax
helper to slider
element, to be used as custom slider<...>
<label class="slider max">
<input type="range">
<span></span>
</label>
</...>
min
helper to field
element, to be used as autoresize textarea<div class="field textarea border min">
<textarea></textarea>
</div>
This is set using the indeterminate property via JavaScript (it cannot be set using an HTML attribute) https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes:
document.getElementById(elementId).indeterminate = true;
max
helper to slider
element, to be used as custom slidermin
helper to field
element, to be used as autoresize textarea (https://github.com/beercss/beercss/issues/276)progress
menu
inside table cell (https://github.com/beercss/beercss/discussions/285#discussioncomment-9087479)header
or footer
and main.responsive
auto-padding
because padding doesn't have auto value on CSS (https://github.com/beercss/beercss/issues/296)tootip
alignment inside slider
elementmax
helper to slider
element, to be used as custom slider<...>
<label class="slider max">
<input type="range">
<span></span>
</label>
</...>
min
helper to field
element, to be used as autoresize textarea<div class="field textarea border min">
<textarea></textarea>
</div>
This is set using the indeterminate property via JavaScript (it cannot be set using an HTML attribute) https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes:
document.getElementById(elementId).indeterminate = true;
ol
and ul
elements (https://github.com/beercss/beercss/issues/262)slider
element to be like MD3 guidelines (https://github.com/beercss/beercss/issues/261)badge
element to be like MD3 guidelinesmin
helper to badge
elementmax
, horizontal
and vertical
helpers to progress
element (https://github.com/beercss/beercss/discussions/263)// Added max, horizontal and vertical helpers to progress element
<...>
...
<progress class="max"></progress>
</...>
ol
, ul
, li
inside nav
elementol
, ul
, li
inside menu
element (https://github.com/beercss/beercss/issues/240)ol
, ul
, li
like nav
and row
elements (except with drawer
, left
, right
, top
, bottom
helpers)auto-width
and auto-height
helpersa
inside menu
to 48dp like the MD3 guidelines (https://m3.material.io/components/menus/specs)footer
to 80dp like the MD3 guidelines (https://m3.material.io/components/bottom-app-bar/specs)line-height
from 1.25 to 1.5, to improve readable texts<ul>
and <ol>
elements will not work with drawer
, left
, right
, top
, bottom
helpers. This helpers are exclusive for <nav>
element.<ol>
, <ul>
and <li>
tags, this release can break for you (or not)// Added support to ol, ul, li inside nav element
<nav>
<ul>
<li>
<a>Item</a>
</li>
<li>
<a>Item</a>
</li>
<li>
<a>Item</a>
</li>
</ul>
</nav>
// Or continue with the minimalist version
<nav>
<a>Item</a>
<a>Item</a>
<a>Item</a>
</nav>
// Added support to li inside menu element
<menu>
<li>
<a>Item</a>
</li>
</menu>
// Or continue with the minimalist version
<menu>
<a>Item</a>
<a>Item</a>
<a>Item</a>
</menu>
// Added support to ol, ul, li like nav and row elements (except with drawer, left, right, top, bottom helpers)
<ul>
<li>
<a>Item</a>
</li>
<li>
<a>Item</a>
</li>
<li>
<a>Item</a>
</li>
</ul>
dialog
element like MD3 specs (https://github.com/beercss/beercss/issues/253)progress
inside field
none
helper from button
element// Removed none helper from button element
// before
<button class="none">Button</button>
// after (some alternatives)
<button>Button</button>
<button class="transparent">Button</button>
// This is the last release of 2023.
// Merry christmas and a happy new year for us.
// π
π»π
πΌπ»π
πΏπ»
dialog
element like MD3 specs (https://github.com/beercss/beercss/issues/253)progress
inside field
none
helper from button
element// Removed none helper from button element
// before
<button class="none">Button</button>
// after (some alternatives)
<button>Button</button>
<button class="transparent">Button</button>
// This is the last release of 2023.
// Merry christmas and a happy new year for us.
// π
π»π
πΌπ»π
πΏπ»
stripes
helper for table
elementmin
helper for th
and td
elementsfixed
helper for thead
and tfoot
elements (https://github.com/beercss/beercss/issues/241)// Added stripes helper for table element
// Added min helper for th and td elements
<table class="stripes">
<thead>
<tr>
<th class="min">Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<td class="min">Cell</td>
<td>Cell</td>
</tr>
<tr>
<td class="min">Cell</td>
<td>Cell</td>
</tr>
<tr>
<td class="min">Cell</td>
<td>Cell</td>
</tr>
</tbody>
<tfoot>
<tr>
<th class="min">Footer</th>
<th>Footer</th>
</tr>
</tfoot>
</table>
// Added scrollable table using fixed helper for thead and tfoot elements
<div class="small-height scroll">
<table>
<thead class="fixed">
<tr>
<th>Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
</tr>
</tbody>
<tfoot class="fixed">
<tr>
<th>Footer</th>
<th>Footer</th>
</tr>
</tfoot>
</table>
</div>
dialog
elements were behind navigation rails, now will be abovevertical
helper on nav
elements// Added support for standard navigation drawer
<nav class="drawer left|right">
<a>
<i>home</i>
<span>Home</span>
</a>
<a>
<i>search</i>
<span>Search</span>
</a>
<a>
<i>more_vert</i>
<span>More</span>
</a>
</nav>
// inside dialog/article
<dialog>
<nav class="drawer">
<a>
<i>home</i>
<span>Home</span>
</a>
<a>
<i>search</i>
<span>Search</span>
</a>
<a>
<i>more_vert</i>
<span>More</span>
</a>
</nav>
</dialog>
field
elements.// Updated the html of input file inside field elements
// before
<div class="field">
<input type="text">
<input type="file">
</div>
// after
<div class="field">
<input type="file">
<input type="text">
</div>
// Added more use cases for input file/color
// inside fields
<div class="field">
<input type="color|file">
<input type="text">
</div>
// inside button elements
<button class="circle">
<input type="color|file">
</button>
// inside other elements
<*>
<input type="color|file">
</*>
header
inside menu
(https://github.com/beercss/beercss/issues/188)dialog
to be rounded like material 3 guidelines (https://github.com/beercss/beercss/issues/186)slider
to be like material 3 guidelinesleft|right|top|bottom|horizontal|vertical
directions to margin
and padding
helpers, you can use like this {direction}-margin
or {direction}-padding
(https://github.com/beercss/beercss/pull/150)auto-margin
and auto-padding
helpers (https://github.com/beercss/beercss/pull/150)field
element using <a>
tag (https://github.com/beercss/beercss/issues/195)textarea
element without border
snackbar
(https://github.com/beercss/beercss/issues/183)menu
behaviorprogress
on iOStoast
to snackbar
to be material 3 friendly (https://github.com/beercss/beercss/issues/182)--inverse-on-primary
variable, this color doesn't exists on official material color schemechip
to be like material 3 guidelines (https://m3.material.io/components/chips/overview)loader
and progress
elements into <progress>
tag to be more semantic with a pure css solution// Renamed toast to snackbar to be material 3 friendly
// Before
<div class="toast">...</div>
// After
<div class="snackbar">...</div>
// Updated default chip to be like material 3 guidelines
// Before
<a class="chip">
<i class="small">today</i>
<span>Chip</span>
</a>
// After
<a class="chip">
<i>today</i>
<span>Chip</span>
</a>
// Merging loader and progress elements into <progress> tag to be more semantic with a pure css solution
// Before
<div class="progress"></div>
<div class="loader"></div>
<div class="progress orange"></div>
// After
<progress></progress>
<progress class="circle"></progress>
<progress class="orange-text"></progress>
<progress value="0.25"></progress>
<progress value="25" max="100"></progress>
// Updated search to not use header tag inside it
// Before
<menu class="min">
<header class="fixed">
<div class="field large prefix suffix no-margin">
<i class="front">arrow_back</i>
<input placeholder="Search text">
<i class="front">close</i>
</div>
</header>
...
</menu>
// After
<menu class="min">
<div class="field large prefix suffix no-margin fixed">
<i class="front">arrow_back</i>
<input placeholder="Search text">
<i class="front">close</i>
</div>
...
</menu>
// Added stepper examples on homepage
<nav>
<button class="circle small">1</button>
<div class="max divider"></div>
<button class="circle small">2</button>
<div class="max divider"></div>
<button class="circle small">3</button>
</nav>
// Added directions to margin and padding helpers
// Added auto-margin and auto-padding helpers
<div class="left-margin"></div>
<div class="horizontal-margin"></div>
<div class="small-margin left-margin"></div>
<div class="small-margin horizontal-margin"></div>
<div class="auto-margin left-margin"></div>
<div class="auto-margin horizontal-margin"></div>
// Added clickable icon on field element using <a> tag
<div class="field prefix">
<a>
<i>search</i>
</a>
...
</div>