diff options
Add Responsive Visibility and new examples
1 files changed, 22 insertions, 0 deletions
| -rw-r--r-- | docs/css/spectre.css | 22 |
diff --git a/docs/css/spectre.css b/docs/css/spectre.css index 678a341..c44809c 100644 --- a/docs/css/spectre.css +++ b/docs/css/spectre.css @@ -1569,30 +1569,52 @@ code { width: 8.33333333%; } } +.show-xs, +.show-sm, +.show-md, +.show-lg, +.show-xl { + display: none !important; +} @media screen and (max-width: 480px) { .hide-xs { display: none !important; } + .show-xs { + display: block !important; + } } @media screen and (max-width: 600px) { .hide-sm { display: none !important; } + .show-sm { + display: block !important; + } } @media screen and (max-width: 840px) { .hide-md { display: none !important; } + .show-md { + display: block !important; + } } @media screen and (max-width: 960px) { .hide-lg { display: none !important; } + .show-lg { + display: block !important; + } } @media screen and (max-width: 1280px) { .hide-xl { display: none !important; } + .show-xl { + display: block !important; + } } .navbar { -webkit-align-items: center; |