Skip to content

Commit 1514ee8

Browse files
committed
Shapes
1 parent b6d6c11 commit 1514ee8

File tree

5 files changed

+44
-0
lines changed

5 files changed

+44
-0
lines changed

shapes/circles-aligned/circles-aligned.css

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.circles-aligned {
2+
background:
3+
radial-gradient(7em 7em at 35% 35%, red 50%, transparent 50%),
4+
radial-gradient(7em 7em at 50% 50%, gold 50%, transparent 50%),
5+
radial-gradient(7em 7em at 65% 65%, blue 50%, transparent 50%);
6+
background-repeat: no-repeat;
7+
width: 240px;
8+
height: 240px;
9+
}

shapes/index.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Draw - Shapes</title>
7+
8+
<link rel="stylesheet" href="square/square.css" />
9+
<link rel="stylesheet" href="circles-aligned/circles-aligned.css" />
10+
</head>
11+
<body>
12+
<div class="square"></div>
13+
<div class="circles-aligned"></div>
14+
</body>
15+
</html>

shapes/square/square.css

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shapes/square/square.scss

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.square {
2+
background: red;
3+
background-repeat: no-repeat;
4+
width: 100px;
5+
height: 100px;
6+
}

0 commit comments

Comments
 (0)