# Card

Preview Full HTML

index.html

<html>

<head>
    <title>CodeKids</title>
    <link href="https://fonts.googleapis.com/css?family=Blinker&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
</head>

<body>


    <div class="card">
        <h2>Python</h2>
        <img src="logo/logo_python.png" alt="" class="img">
        <div class="addBTN">
            <a href="#" class="aAdd">+</a>
        </div>
    </div>


</body>

</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

style.css

* {
    box-sizing: border-box;
}

body {
    font-family: 'Blinker', sans-serif;
    background-color: rgb(255, 192, 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 30vw;
    height: 65vh;
    border-radius: 1rem;
    background-color: whitesmoke;
    box-shadow: 0px 3px 11px -2px rgba(0, 0, 0, 0.46);
}

h2 {
    margin: 0;
    font-size: 2rem;
}

.img {
    height: 30vh;
}

.addBTN {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(0, 128, 0);
    box-shadow: 0px 3px 11px -2px rgba(0, 0, 0, 0.46);
}

.aAdd {
    text-decoration: none;
    color: aliceblue;
    font-size: 2rem;
}
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