File tree 4 files changed +55
-0
lines changed
4 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
7
+ < title > Document</ title >
8
+ < link rel ="stylesheet " href ="style.css ">
9
+ </ head >
10
+ < body >
11
+ < div >
12
+ Hello
13
+ </ div >
14
+ </ body >
15
+ </ html >
Original file line number Diff line number Diff line change
1
+ div {
2
+ /* border: 1px solid black; */
3
+ background-color : aqua;
4
+ height : 200px ;
5
+ width : 200px ;
6
+ box-shadow : 6px 5px 10px black;
7
+ }
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
7
+ < title > Document</ title >
8
+ < link rel ="stylesheet " href ="style.css ">
9
+ </ head >
10
+ < body >
11
+ < div id ="div1 "> Learning Transitions</ div >
12
+ < div id ="div2 "> Learning Transitions</ div >
13
+ < div id ="div3 "> Learning Transitions</ div >
14
+ < div id ="div4 "> Learning Transitions</ div >
15
+ </ body >
16
+ </ html >
Original file line number Diff line number Diff line change
1
+ div {
2
+ height : 100px ;
3
+ width : 200px ;
4
+ margin : 200px ;
5
+ background-color : aquamarine;
6
+ }
7
+
8
+ # div1 : active {
9
+ transform : scale (3 );
10
+ border : 2px solid black;
11
+ transition : transform 5s , border 1s ;
12
+ }
13
+
14
+ # div2 : hover {
15
+ width : 400px ;
16
+ transition : width 1s ;
17
+ }
You can’t perform that action at this time.
0 commit comments