-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (51 loc) · 1.35 KB
/
index.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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CSS表現デモ</title>
<link href="../base.css" rel="stylesheet" type="text/css"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap" rel="stylesheet">
<style>
.fukidashi-01-06 {
position: relative;
width: fit-content;
padding: 12px 16px;
border: 2px solid #333333;
border-radius: 4px;
}
.fukidashi-01-06::before {
content: "";
position: absolute;
bottom: -5px;
left: 50%;
width: 15px;
height: 15px;
box-sizing: border-box;
background-color: #ffffff; /* 背景色と同じ色を指定 */
rotate: 135deg;
translate: -50%;
}
.fukidashi-01-06::after {
content: "";
position: absolute;
bottom: -8px;
left: 50%;
width: 15px;
height: 15px;
box-sizing: border-box;
border: 2px solid;
border-color: #333333 #333333 transparent transparent;
rotate: 135deg;
translate: -50%;
}
</style>
</head>
<body>
<div class="fukidashi-01-06">
<div>かわいいフキダシ</div>
</div>
</body>
</html>