Skip to content

Commit 379407d

Browse files
committed
black hexagon
1 parent ce870ed commit 379407d

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

1. The Black Hexagons/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en" dir="ltr">
3+
<head>
4+
<meta charset="utf-8">
5+
<title></title>
6+
<link rel="stylesheet" href="styles.css">
7+
</head>
8+
<body>
9+
<h1>The Black Hexagon</h1>
10+
</body>
11+
</html>

1. The Black Hexagons/styles.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
body {
2+
font-family: 'Share Tech', sans-serif;
3+
font-size: 68px;
4+
color: white;
5+
display: flex;
6+
jsutify-content: center;
7+
align-items: center;
8+
margin: 0;
9+
width: 100vw;
10+
height: 100vh;
11+
text-shadow: 8px 8px 10px #0000008c;
12+
background-color: #343a40;
13+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%239C92AC' fill-opacity='0.25' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(to right top, #343a40, #2b2c31, #211f22, #151314, #000000);
14+
}
15+
16+
h1 {
17+
margin: 20px;
18+
}

0 commit comments

Comments
 (0)