-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
37 lines (27 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CSS multiple borders</title>
<link href="base.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
</head>
<body>
<header>
<h1 class="primary-heading">CSS multiple borders</h1>
</header>
<main>
<div class="outline-and-border">
<p>This example uses oultines. outlines work like borders but they fall outside of borders and will overlap the margin and other neighbouring elements. Unlike borders, outlines also have an <code>outline-offset</code> property.</p>
</div>
<div class="border-and-pseudo">
<p>This example uses a pseudo element to create a second border. Since it's an element, it can also have a background color; silulating a third border.</p>
</div>
<div class="border-and-box-shadow">
<p>This example uses multiple box shadows to create unlimited borders.</p>
</div>
</main>
<footer>
</footer>
</body>
</html>