-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathworkshop.css
80 lines (73 loc) · 1.29 KB
/
workshop.css
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
*{
margin:0;
padding:0;
}
body{
background:url('company images/bg4.jpg');
background-size:cover;
background-attachment:fixed;
}
.ws_box{
height:280px;
width:220px;
display:inline-block;
margin:40px;
background:blue;
background-size:cover;
background-repeat:no-repeat;
opacity:50%;
font-size:21px;
text-align:justify;
cursor:pointer;
border-radius:15% 15% 0 0;
}
.first{
position:absolute;
top:20%;
left:25%;
background:url('company images/agra.jpg');
background-size:cover;
background-repeat:no-repeat;
opacity:50%;
font-size:21px;
text-align:justify;
color:white;}
.ws_box:hover{
transform:scale(1.1);
}
.second{
position:absolute;
top:20%;
left:55%;
background:url('company images/mumbai.jpg');
background-size:cover;
background-repeat:no-repeat;
color:white;
}
.third{
position:absolute;
top:70%;
left:25%;
background:url('company images/delhi.jpg');
background-size:cover;
background-repeat:no-repeat;
color:white;
}
.fourth{
position:absolute;
top:70%;
left:55%;
background:url('company images/chandigarh.jpg');
background-size:cover;
background-repeat:no-repeat;
color:white;
}
p{
width:220px;
float:right;
background:linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,1));
padding-top:10px;
position:absolute;
margin:0;
bottom:0;
}