Skip to content
Snippets Groups Projects
Verified Commit f9be36f0 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3514748 by catch: Remove legacy browser support from js.module.css

parent 80adfea4
No related branches found
No related tags found
No related merge requests found
......@@ -3,30 +3,22 @@
* Utility classes to assist with JavaScript functionality.
*/
/**
* For anything you want to hide on page load when JS is enabled, so
* that you can use the JS to control visibility and avoid flicker.
*/
.js .js-hide {
display: none;
}
/**
* For anything you want to show on page load only when JS is enabled.
*/
.js-show {
display: none;
}
.js .js-show {
display: block;
}
/**
* Use the scripting media features for modern browsers to reduce layout shifts.
*/
@media (scripting: enabled) {
/* Extra specificity to override previous selector. */
.js-hide.js-hide {
/**
* For anything you want to hide on page load when JS is enabled, so
* that you can use the JS to control visibility and avoid flicker.
*/
.js-hide {
display: none;
}
.js-show {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment