js.module.css
Same filename in this branch
Same filename and directory in other branches
- 8.9.x core/themes/stable/css/system/components/js.module.css
- 8.9.x core/modules/system/css/components/js.module.css
- 10 core/themes/stable9/css/system/components/js.module.css
- 10 core/modules/system/css/components/js.module.css
- 11.x core/themes/stable9/css/system/components/js.module.css
- 11.x core/modules/system/css/components/js.module.css
Utility classes to assist with JavaScript functionality.
File
-
core/
themes/ stable/ css/ system/ components/ js.module.css
View source
- /**
- * @file
- * 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;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.