Empty Cells
Set whether or not empty table cells have borders & backgrounds.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
Usage
Show
Use the ec-s utility to show borders & backgrounds for empty cells.
<table class="ec-s ..."> ...</table>Hide
Use the ec-h utility to hide borders & backgrounds for empty cells.
<table class="ec-h ..."> ...</table>Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
sm:ec-[value]Small≥640px
md:ec-[value]Medium≥768px
lg:ec-[value]Large≥1024px
xxl:ec-[value]Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:ec-[value]