mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
Added ‘.has-no-js’ and ‘.has-js’ to <html>
Useful for CSS, e.g.:
```
.has-js .hide-if-js,
.has-no-js .hide-if-no-js {
display: none;
}
```
This commit is contained in:
committed by
Dominic Lord
parent
0facd79d7e
commit
8a93c9d178
@@ -1,6 +1,6 @@
|
||||
<!doctype html>
|
||||
<!--[if lte IE 9]> <html lang="fr" class="ie9"> <![endif]-->
|
||||
<!--[if gt IE 9]><!--> <html lang="fr"> <!--<![endif]-->
|
||||
<!--[if lte IE 9]> <html lang="fr" class="has-no-js ie9"> <![endif]-->
|
||||
<!--[if gt IE 9]><!--> <html lang="fr" class="has-no-js"> <!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
Reference in New Issue
Block a user