-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfloating_button.html
51 lines (47 loc) Β· 2.11 KB
/
floating_button.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
50
51
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<!-- vuetify.jsμ νμν μ€νμΌ νμΌ λ§ν¬ μ°κ²° -->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet">
</head>
<body>
<div id="app">
<v-app>
<!-- μλ¨μ ν΄λ° λ°°μΉνκ³ μ’μΈ‘μ λ©λ΄ μμ΄μ½ λ£μ -->
<v-app-bar app color="blue" dark>
<v-app-bar-nav-icon></v-app-bar-nav-icon>
<v-toolbar-title>Virtual University</v-toolbar-title>
</v-app-bar>
<v-content>
<v-container>
<v-row>
<v-col xs="12">
<v-card>
<!-- λ΄μ© μμμ λμ΄ 300px μΉ΄λ μ€νμΌ λ£μ -->
<v-card-text style="height: 300px;" class="grey lighten-4"></v-card-text>
<!-- νλ¨ κΈ°μ€μΌλ‘ 50px λμ΄μ [μΆκ°] νλ‘ν
λ¨μΆ λ£μ -->
<v-card-text style="height: 50px; position:relative">
<v-btn absolute dark fab top right color="pink">
<v-icon>add</v-icon>
</v-btn>
</v-card-text>
</v-card>
</v-col>
</v-row>
</v-container>
</v-content>
</v-app>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.js"></script>
<script>
new Vue({
el: '#app',
vuetify: new Vuetify()
})
</script>
</body>
</html>