This repository was archived by the owner on Oct 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.3.html
49 lines (40 loc) · 1.56 KB
/
index.3.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
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MEU VUEJS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body >
<div id="app" :style="classeBody">
<button class="btn" :class="btnClassLimpar" :style="btnStyleLimpar" >LIMPAR</button>
<button class="btn" :class="btnClassEnviar" :style="btnStyleEnviar" >ENVIAR</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
var app = new Vue({
el: "#app",
data:{
imagem: "https://picsum.photos/500",
texto: "Alo Brasil",
btnClassLimpar: {
'btn-danger': true,
'btn-sm': false
},
btnClassEnviar: [
"btn-primary",
{"btn-lg":false}
],
btnStyleEnviar: {
"font-size": "50px",
"color": "black"
},
btnStyleLimpar: " font-size: 10px",
classeBody: "background-color:red"
}
});
</script>
</body>
</html>