mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
Useful for CSS, e.g.:
```
.has-js .hide-if-js,
.has-no-js .hide-if-no-js {
display: none;
}
```
30 lines
1.3 KiB
HTML
30 lines
1.3 KiB
HTML
<!doctype html>
|
|
<!--[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">
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="theme-color" content="#f2f2f2">
|
|
<title>Boilerplate</title>
|
|
|
|
<link rel="apple-touch-icon" href="assets/images/apple-touch-icon.png">
|
|
<link rel="icon" href="assets/images/favicon.png">
|
|
|
|
<link rel="stylesheet" href="assets/styles/main.css">
|
|
</head>
|
|
<body>
|
|
<div data-module="Title">
|
|
<h1 class="js-label">Locomotive's Boilerplate</h1>
|
|
</div>
|
|
|
|
<button data-module="Button" type="button" value="Clicked! Title destroyed">Change value and destroy Title()</button>
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
|
|
<script>window.jQuery || document.write('<script src="assets/scripts/jquery-3.0.0.min.js"><\/script>')</script>
|
|
<script src="assets/scripts/vendors.js"></script>
|
|
<script src="assets/scripts/app.js"></script>
|
|
</body>
|
|
</html>
|