-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (42 loc) · 1.68 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<title>Vuejs Backgroung Changer</title>
</head>
<body>
<div id="app">
<!-- <div class="container">
<div class="row">
<div class="col-sm-12">
<div class="jumbotron text-center custom-style extra-margin" v-bind:style="bgc">
<h1>Dynamic Color Change</h1>
<p>Write any color name, hexadecimal code, rgb color or hsl color code. It will dynamically change the color of this Jumbotron area by means of <code>Vue.js</code> </code></p>
</div>
</div>
</div>
</div> -->
<div class="container">
<div class="row extra-margin">
<div class="col-lg-12 text-center">
<div class="content">
<h2 class="description" v-bind:style="styleObj">{{description}}</h2>
<input type="text" v-on:input="styleObj.color = $event.target.value">
</div>
<br>
<div>
<h1><code>Vue.js</code></h1>
</div>
</div>
</div>
</div>
</div>
<script src="js/vue.js"></script>
<script src="js/app.js"></script>
</body>
</html>