-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnewTest.less
57 lines (48 loc) · 852 Bytes
/
newTest.less
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
@headerHeight: 50px;
@footerHeight: 40px;
body {
margin: 0;
overflow: hidden;
}
.transitionable-section {
position: absolute;
left: 0;
right: 0;
}
#head {
height: @headerHeight;
opacity: 0.5;
}
#body {
top: @headerHeight;
bottom: @footerHeight;
}
#foot {
height: @footerHeight;
bottom: 0;
}
#head, #foot {
line-height: 30px;
font-size: 26px;
z-index: 50;
}
#body div{
height:100%;
line-height: 150px;
font-size: 48px;
}
#h1, #h2, #p1, #p2, #p3, #p4, #f1, #f2 {
position: absolute;
top:0;
bottom:0;
left:0;
right:0;
}
#h1 {background-color: black; color: white;}
#h2 {background-color: white;}
#p1 {background-color: coral;}
#p2 {background-color: royalblue;}
#p3 {background-color: bisque;}
#p4 {background-color: salmon;}
#f1 {background-color: black; color: white;}
#f2 {background-color: white;}