-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (42 loc) · 1.02 KB
/
style.css
File metadata and controls
46 lines (42 loc) · 1.02 KB
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
body {
margin: 0px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
img {
width: 600px;
height: 400px;
margin: 10px;
/* transition: all 1s ease-in-out; */
/* No need to use transition property if we do the above
transition: [property] [duration] [timing-function] [delay];
transition-property: all;
transition-property: transform; */
/* transition: transform 1x; */
transform-origin: left top;
transition: transform 1s;
}
img:hover {
transform: scale(1.1);
/* transform: rotate(360deg); */
/* transform: translate(20px, 20px); */
/* transform: skewX(25deg);
transform: skewY(10deg); */
/* transform: skew(25deg, 10deg); */
/* transform: rotate(720deg); */
/* Can do Combined transform */
/* transform: rotate(90deg) scale(2) translateY(-50%) translateX(50%); */
}
h1 {
text-align: center;
font-family: fantasy;
font-size: 3em;
border-bottom: 2px solid pink;
border-right: 2px solid pink;
width: 400px;
box-shadow: 5px 5px grey;
margin-top: 10px;
}