Commit 5169ce8 1 parent a9279bf commit 5169ce8 Copy full SHA for 5169ce8
File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11
11
12
12
< body >
13
13
< div class ="folder ">
14
- < div class ="folder__back ">
14
+ < div class ="folder_back ">
15
15
< div class ="paper "> </ div >
16
16
< div class ="paper "> </ div >
17
17
< div class ="paper "> </ div >
18
- < div class ="folder__front "> </ div >
19
- < div class ="folder__front right "> </ div >
18
+ < div class ="folder_front "> </ div >
19
+ < div class ="folder_front right "> </ div >
20
20
</ div >
21
21
</ div >
22
22
</ body >
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ body {
12
12
.folder {
13
13
transition : all 0.2s ease-in;
14
14
}
15
- .folder__back {
15
+ .folder_back {
16
16
position : relative;
17
17
width : 100px ;
18
18
height : 80px ;
19
19
background : # 47c5ff ;
20
20
border-radius : 0px 5px 5px 5px ;
21
21
}
22
- .folder__back ::after {
22
+ .folder_back ::after {
23
23
content : "" ;
24
24
position : absolute;
25
25
bottom : 98% ;
29
29
background : # 47c5ff ;
30
30
border-radius : 5px 5px 0 0 ;
31
31
}
32
- .folder__back .paper {
32
+ .folder_back .paper {
33
33
position : absolute;
34
34
bottom : 10% ;
35
35
left : 50% ;
@@ -40,17 +40,17 @@ body {
40
40
border-radius : 5px ;
41
41
transition : all 0.3s ease-in-out;
42
42
}
43
- .folder__back .paper : nth-child (2 ) {
43
+ .folder_back .paper : nth-child (2 ) {
44
44
background : # f2f2f2 ;
45
45
width : 80% ;
46
46
height : 70% ;
47
47
}
48
- .folder__back .paper : nth-child (3 ) {
48
+ .folder_back .paper : nth-child (3 ) {
49
49
background : white;
50
50
width : 90% ;
51
51
height : 60% ;
52
52
}
53
- .folder__back . folder__front {
53
+ .folder_back . folder_front {
54
54
position : absolute;
55
55
width : 100% ;
56
56
height : 100% ;
65
65
.folder : hover .paper {
66
66
transform : translate (-50% , 0% );
67
67
}
68
- .folder : hover .folder__front {
68
+ .folder : hover .folder_front {
69
69
transform : skew (15deg ) scaleY (0.6 );
70
70
}
71
71
.folder : hover .right {
You can’t perform that action at this time.
0 commit comments