File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010</ head >
1111
1212< body >
13- < h1 id ="id "> Procoder Bd < a href ="#id "> Subscribe</ a > </ h1 >
1413 < a href =""> Subscribe</ a >
14+ < a href ="# "> Subscribe</ a >
15+ < a href ="http://www.google.com "> Subscribe</ a >
16+
17+ < a class ="btn " href =""> Subscribe</ a >
18+
1519
1620
1721
Original file line number Diff line number Diff line change 1- * {
2- margin : 0 ;
3- padding : 0 ;
4- }
5- body {
6- background : # 262626 ;
7- }
8- h1 {
9- color : # fff ;
10- }
11- a : link {
12- margin-top : 25px ;
13- background : # fff ;
14- padding : 10px 30px ;
1+ a {
2+ font-size : 35px ;
3+ color : black;
154 text-decoration : none;
16- color : # 262626 ;
17- display : inline-block;
18- border-radius : 35px ;
19- font-family : sans-serif;
20- font-size : 15px ;
5+ text-decoration : underline;
6+ text-decoration : overline;
7+ text-decoration : line-through;
218}
229a : visited {
23- color : yellowgreen;
10+ color : brown;
11+ }
12+ a : hover {
13+ color : aquamarine;
2414}
2515a : active {
26- color : yellowgreen;
16+ color : red;
17+ font-weight : bold;
18+ font-size : 25px ;
2719}
28- a : hover {
29- color : # fff ;
20+ a : focus {
21+ color : blueviolet;
22+ font-size : 16px ;
23+ background : # 000 ;
24+ padding : 10px ;
25+ }
26+ a .btn {
27+ text-decoration : none;
3028 background : red;
29+ border : 2px solid red;
30+ color : # fff ;
31+ padding : 10px 25px ;
32+ display : inline-block;
33+ font-family : sans-serif;
34+ border-radius : 35px ;
35+ }
36+ a .btn : hover {
37+ background : rgba (255 , 0 , 0 , 0.2 );
38+ color : # 000 ;
3139}
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < meta charset ="UTF-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > CSS Display</ title >
8+
9+ < link rel ="stylesheet " href ="style.css ">
10+ </ head >
11+
12+ < body >
13+ < h1 > Procoder Bd</ h1 >
14+ < p > Ali</ p >
15+ < span > Hossain</ span >
16+ < h2 > < a href =""> This is title</ a > </ h2 >
17+
18+ < h3 > Shovo</ h3 >
19+ < a href ="" class ="btn "> Contact Us</ a >
20+
21+
22+
23+
24+ </ body >
25+
26+ </ html >
Original file line number Diff line number Diff line change 1+ h1 ,
2+ h3 ,
3+ p ,
4+ span ,
5+ a {
6+ background : teal;
7+ }
8+ h1 {
9+ display : inline-block;
10+ }
11+ span {
12+ display : block;
13+ }
14+ h3 {
15+ display : none;
16+ }
17+ a .btn {
18+ background : violet;
19+ color : # fff ;
20+ padding : 10px 25px ;
21+ display : inline-block;
22+ }
You can’t perform that action at this time.
0 commit comments