File tree Expand file tree Collapse file tree 3 files changed +110
-42
lines changed Expand file tree Collapse file tree 3 files changed +110
-42
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "liveServer.settings.port" : 5501
3+ }
Original file line number Diff line number Diff line change 1414 < div class ="header ">
1515 < a href ="#container "> MY ART</ a >
1616 < a href ="#about "> ABOUT</ a >
17+ < a href ="#contact "> CONTACT ME</ a >
1718 </ div >
1819 < div id ="container ">
1920 < div class ="half ">
3536 tincidunt sed tellus ut rutrum. Sed vitae justo condimentum, porta lectus vitae, ultricies congue
3637 gravida diam non fringilla. Praesent tincidunt sed tellus ut rutrum. Sed vitae justo condimentum, porta
3738 lectus vitae, ultricies congue gravida diam non fringilla.</ p >
39+ </ div >
40+ < div id ="contact ">
41+ < div class ="input ">
42+ < p class ="red "> Do not hesitate to contact me!</ p >
43+ </ div >
44+ < div class ="input ">
45+ < span > Name</ span >
46+ < input type ="text ">
47+ </ div >
48+ < div class ="input ">
49+ < span > Email</ span >
50+ < input type ="text ">
51+ </ div >
52+ < div class ="input ">
53+ < span > Message</ span >
54+ < input type ="text ">
55+ </ div >
56+ < div class ="input ">
57+ < input class ="button " type ="button " value ="Send ">
58+ </ div >
59+ </ div >
3860 </ div >
39- < div class ="input ">
40- < p class ="red "> Do not hesitate to contact me!</ p >
41- </ div >
42- < div class ="input ">
43- < span > Name</ span >
44- < input type ="text ">
45- </ div >
46- < div class ="input ">
47- < span > Email</ span >
48- < input type ="text ">
49- </ div >
50- < div class ="input ">
51- < span > Message</ span >
52- < input type ="text ">
53- </ div >
54- < div class ="input ">
55- < input class ="button " type ="button " value ="Send ">
56- </ div >
57- </ div >
5861
5962 < div class ="footer ">
6063 Made by ❤Jugesh Raghav
Original file line number Diff line number Diff line change 1- * {
2- margin : 0 ;
3- padding : 0 ;
4- }
5- @media (max-width : 595px ){
6- # container {
7- display : grid;
8- grid-template-columns : auto;
9- }
10- .header {
11- padding-top : 30px ;
12- padding-bottom : 30px ;
13- padding-right : 10px ;
14- padding-left : 10px ;
15- }
16- img {
17- width : 250px ;
18- height : 300px ;
19- }
20- .footer {
21- padding : 10px
22- }
23- }
1+ * {
2+ margin : 0 ;
3+ padding : 0 ;
4+ box-sizing : border-box;
5+ }
6+
7+ body {
8+ font-family : Arial, sans-serif;
9+ background-color : # f4f4f4 ;
10+ }
11+
12+ .header {
13+ display : flex;
14+ justify-content : space-around;
15+ align-items : center;
16+ background-color : # 333 ;
17+ padding : 15px 0 ;
18+ color : white;
19+ font-size : 18px ;
20+ }
21+
22+ .header a {
23+ color : white;
24+ text-decoration : none;
25+ transition : color 0.3s ;
26+ }
27+
28+ .header a : hover {
29+ color : # ff6347 ;
30+ }
31+
32+ # container {
33+ display : flex;
34+ flex-wrap : wrap;
35+ justify-content : space-around;
36+ padding : 20px ;
37+ }
38+
39+ .half {
40+ flex : 1 ;
41+ max-width : 45% ;
42+ margin : 10px ;
43+ }
44+
45+ img {
46+ width : 100% ;
47+ border-radius : 8px ;
48+ }
49+
50+ .about-block {
51+ padding : 20px ;
52+ }
53+
54+ .red {
55+ color : red;
56+ }
57+
58+ .input {
59+ margin : 10px 0 ;
60+ }
61+
62+ .input span {
63+ display : block;
64+ margin-bottom : 5px ;
65+ }
66+
67+ .button {
68+ padding : 10px 15px ;
69+ background-color : # 333 ;
70+ color : white;
71+ border : none;
72+ border-radius : 5px ;
73+ cursor : pointer;
74+ }
75+
76+ .button : hover {
77+ background-color : # ff6347 ;
78+ }
79+
80+ .footer {
81+ text-align : center;
82+ padding : 15px ;
83+ background-color : # 333 ;
84+ color : white;
85+ }
You can’t perform that action at this time.
0 commit comments