File tree Expand file tree Collapse file tree 3 files changed +97
-0
lines changed
HTML+CSS/Student_biodata_card Expand file tree Collapse file tree 3 files changed +97
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+
4
+ < head >
5
+ < meta charset ="utf-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < link rel ="stylesheet " href ="style.css ">
8
+ < title > Student Details</ title >
9
+ </ head >
10
+
11
+ < body >
12
+ < div class ="box ">
13
+ < img src ="1.jpg " alt ="" class ="box-img ">
14
+ < ul class ="one ">
15
+ < li > NAME : Annie Marie</ li >
16
+ < li > FATHER'S NAME : Chris Marie</ li >
17
+ < li > MOTHER'S NAME : Brayn Marie</ li >
18
+ < li > DATE OF BIRTH : 02/11/1990</ li >
19
+ < li > GENDER : Female</ li >
20
+ < li > NATIONALITY : American</ li >
21
+ < li > GRADUATION YEAR : 2012</ li >
22
+ < li > RELIGION : Christian</ li >
23
+ < li > QUALIFICATION : B.Tech (Computer Science)</ li >
24
+ < li > EMAIL : annie455afk@gmail.com</ li >
25
+ < li > PHONE NO. : +1-2217281029</ li >
26
+ < li > ADDRESS : Washington , D.C. ,USA</ li >
27
+ < li > ADDRESS : Washington , D.C. ,USA</ li >
28
+ </ ul >
29
+ </ div >
30
+ </ body >
31
+
32
+ </ html >
Original file line number Diff line number Diff line change
1
+ @import url ('https://fonts.googleapis.com/css2?family=Carter+One&display=swap' );
2
+
3
+ * {
4
+ margin : 0 ;
5
+ padding : 0 ;
6
+ }
7
+
8
+ body {
9
+ height : 100% ;
10
+ width : 100% ;
11
+ background : linear-gradient (45deg , # 0f0d23 83% , # 82016f 100% );
12
+ background-repeat : no-repeat;
13
+ background-size : cover;
14
+ }
15
+
16
+ .box {
17
+ width : 700px ;
18
+ background-image : linear-gradient (to right, # fc466a, # 1f44ff );
19
+ border-radius : 15px ;
20
+ padding : 40px ;
21
+ text-align : center;
22
+ margin : auto;
23
+ margin-top : 5% ;
24
+ margin-bottom : 5% ;
25
+ font-family : 'Cormorant SC' , serif;
26
+ }
27
+
28
+ .box-img {
29
+ border-radius : 50% ;
30
+ width : 150px ;
31
+ height : 200px ;
32
+ border : 2.2px solid white;
33
+ }
34
+
35
+ .one {
36
+ list-style : none;
37
+ padding : 20px ;
38
+ margin-top : 15px ;
39
+ border-radius : 15px ;
40
+ background-image : linear-gradient (to right, # fc5c7d, # 6a82fb );
41
+ }
42
+
43
+ .box li {
44
+ font-size : 25px ;
45
+ padding : 10px ;
46
+ }
47
+ @media screen and (max-width : 768px ) {
48
+ .box {
49
+ width : 250px ;;
50
+ padding: 20px;
51
+ }
52
+ .box li {
53
+ font-size : 20px ;
54
+ padding : 8px ;
55
+ color : black;
56
+ }
57
+ .box-img {
58
+ height : 150px ;
59
+ width : 120px ;
60
+ }
61
+ .one {
62
+ padding : 0 ;
63
+ width : 100% ;
64
+ }
65
+ }
You can’t perform that action at this time.
0 commit comments