-
Notifications
You must be signed in to change notification settings - Fork 0
/
transitions.css
60 lines (56 loc) · 985 Bytes
/
transitions.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
body {
background: #333;
}
.box {
background: white;
width: 300px;
height: 300px;
position: relative;
margin: auto;
top: 200px;
/* transition-property: background, border-radius, transform; */
transition-property: all;
transition-duration: 2s;
/* transition-delay: 2s , 4s; */
transition-timing-function: ease-in-out;
}
.box:hover {
background: red;
width: 400px;
height: 400px;
border-radius: 50%;
transform: rotateY(180deg);
}
/*
TRANSITIONAL PROPERTIES
-Properties that have an identifiable halfway point
background-color
background-position
border-color
border-width
border-spacing
bottom
color
font-size
font-weight
height left
letter-spacing
line-height
margin
max-height
max-width
min-height
min-width
opacity
outline-color
outline-offset
outline-width
padding right
text-indent
text-shadow
top
vertical-align
visibility
width
word-spacing
z-index */