This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
vuejs_course/2021-01-18 basics-10-stylin.../index.html

26 lines
815 B
HTML
Raw Normal View History

2021-01-18 22:27:27 +01:00
<!DOCTYPE html>
<html lang="en">
2021-01-18 22:28:32 +01:00
<head>
2021-01-18 22:27:27 +01:00
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vue Basics</title>
2021-01-18 22:28:32 +01:00
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap" rel="stylesheet" />
2021-01-18 22:27:27 +01:00
<link rel="stylesheet" href="styles.css" />
<script src="https://unpkg.com/vue@next" defer></script>
<script src="app.js" defer></script>
2021-01-18 22:28:32 +01:00
</head>
<body>
2021-01-18 22:27:27 +01:00
<header>
2021-01-18 22:28:32 +01:00
<h1>Vue Dynamic Styling</h1>
2021-01-18 22:27:27 +01:00
</header>
<section id="styling">
<div class="demo" :class="classesBoxA" @click="boxSelected('A')"></div>
<div class="demo" :class="classesBoxB" @click="boxSelected('B')"></div>
<div class="demo" :class="classesBoxC" @click="boxSelected('C')"></div>
2021-01-18 22:27:27 +01:00
</section>
2021-01-18 22:28:32 +01:00
</body>
2021-01-18 22:27:27 +01:00
</html>