-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
48 lines (42 loc) · 994 Bytes
/
main.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
body {
background: lightcoral;
}
h2 {
font-family: 'Oleo Script', Helvetica, sans-serif;
}
.note {
width: 400px;
height: 300px;
margin: 0 auto 20px auto;
padding: 20px;
text-align: left;
}
#note1 {
background-color: aquamarine;
position: relative;
overflow: hidden;
}
#note1:after {
content: "";
height: 0;
position: absolute;
bottom: 0;
right: 0;
border: solid;
border-width: 0 0 30px 30px;
border-color: transparent transparent lightcoral rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6), -2px 2px 2px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6), -2px 2px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6), -2px 2px 2px rgba(0, 0, 0, 0.3);
/* Firefox 3.0 damage limitation */
display: block;
width: 0;
}
#note2 {
background-color: indianred;
position: relative;
overflow: hidden;
}
#note3 {
background-color: beige;
}