forked from zero-to-mastery/coding_challenge-44
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ThierryRakotomanana.html
95 lines (87 loc) · 2.07 KB
/
ThierryRakotomanana.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My card Portfolio</title>
</head>
<style>
* {
margin : 0;
padding : 0;
box-sizing : border-box;
font-family : sans-serif;
}
.ecran{
width: 100%;
heigth: 100vh;
back-ground-position : center;
back-ground-size : cover;
display : flex;
align-items: center;
justify-content: center;
}
.card{
width: 90%;
max-width: 440px;
background-color : darkslateblue;
color : peru;
text-align: center;
padding: 50px 30px;
border: 1px solid rgba(255,255,255,0.3);
}
.card svg{
width: 200px;
border-radius: 50%;
}
.card h2{
font-size: 50px;
font-weigth: 600px;
margin-top: 20px;
}
.card p{
font-size: 20px;
margin: 10px auto;
max-width: 330px;
}
.gingerbread .body {
fill: #cd803d;
}
.gingerbread .eye {
fill: white;
}
.gingerbread .mouth {
fill: none;
stroke: white;
stroke-width: 2px;
}
.gingerbread .limb {
stroke: #cd803d;
stroke-width: 35px;
stroke-linecap: round;
}
</style>
<body>
<div class="ecran">
<div class="card">
<svg class="gingerbread" width="200" height="200" viewBox="-100 -100 200 200">
<circle class="body" cx="0" cy="-50" r="30" />
<circle class="eye" cx="-12" cy="-55" r="3" />
<circle class="eye" cx="12" cy="-55" r="3" />
<rect class="mouth" x="-10" y="-40" width="20" height="5" rx="2" />
<line class="limb" x1="-40" y1="-10" x2="40" y2="-10" />
<line class="limb" x1="-25" y1="50" x2="0" y2="-15" />
<line class="limb" x1="25" y1="50" x2="0" y2="-15" />
<circle class="button" cx="0" cy="-10" r="5" />
<circle class="button" cx="0" cy="10" r="5" />
</svg>
<h2>Thierry Rak</h2>
<p>I am JavaScript developer and Ilove coding</p>
</div>
</div>
<script>
//Here the script
</script>
</body>
</html>