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:
Chauncey McAskill
2016-12-18 14:08:58 -05:00
committed by Dominic Lord
parent 0facd79d7e
commit 8a93c9d178
2 changed files with 3 additions and 3 deletions

View File

@@ -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">