/
LStackBox.vue
65 lines (64 loc) · 1.25 KB
/
LStackBox.vue
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<template>
<div class = "box">
<h4>Login</h4>
<p id="one">Hello let's get started</p>
<div class="wrapper">
<div class="col googleIcon"></div>
</div>
<p id="two">Login with your social network</p>
</div>
</template>
<style scoped>
.box {
width: 27%;
height: 165px;
background-color: #000;
color: #fff;
opacity: 0.9;
top: 33%;
left: 50%;
position: absolute;
box-sizing: border-box;
transform: translate(-50%, -50%);
padding: 0px;
border-radius: 10px;
padding: 20px;
border: 1px solid #000;
box-shadow: 7px 7px #eeefef;
}
.box h4 {
font-size: 23px;
color: #fff;
margin-bottom: 2px;
}
#one {
color: #aaa;
font-size: 14px;
}
.wrapper {
width: 25%;
margin: 0px;
padding-left: 0px;
padding-right: 5px;
padding-bottom: 0px;
padding-top: 0px;
display: flex;
}
.col {
margin-right: 15px;
height: 25px;
background-blend-mode: overlay;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
border-radius: 2px;
}
.col.googleIcon {
background-image: url('../../assets/Gicon.jpg');
}
#two {
margin-top: 5px;
color: #aaa;
font-size: 10px;
}
</style>