-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (76 loc) · 3.18 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!--
Message from Brad:
Thanks for watching CSS3 in 30 Days! You're awesome.
Want more fun design & coding courses? Check out my website.
https://codecollege.ca
(it's free to start)
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Clipping Images with Shapes | Code 30 Things in 30 Days with CSS3</title>
<!-- NORMALIZE CSS -->
<link rel="stylesheet" href="../_theme-styles/normalize.css">
<!-- PROJECT THEME CSS -->
<link rel="stylesheet" href="../_theme-styles/theme.css">
<!-- FINAL PROJECT CSS (use for reference) -->
<link rel="stylesheet" href="final.css">
<!-- SANDBOX CSS (this is your file!) -->
<link rel="stylesheet" href="sandbox.css">
<link href="https://fonts.googleapis.com/css?family=Bubblegum+Sans|Nova+Mono|Roboto+Condensed" rel="stylesheet">
</head>
<body>
<h1><small>Day #3</small> Clipping Images with Shapes</h1>
<div class="sandbox">
<h2>Sandbox <small>This is where you play</small></h2>
<div class="content">
<p><strong>Instructions:</strong> Use CSS3 to "clip" the following images with different shapes!</p>
<section>
<h4>Example #1</h4>
<img src="https://unsplash.it/300/300?image=1000" alt="" class="clip-image-1"/>
</section>
<section>
<h4>Example #2</h4>
<img src="https://unsplash.it/300/300?image=1005" alt="" class="clip-image-2"/>
</section>
<section>
<h4>Example #3</h4>
<img src="https://unsplash.it/300/300?image=1002" alt="" class="clip-image-3"/>
</section>
<section>
<h4>Example #4</h4>
<img src="https://unsplash.it/300/300?image=1003" alt="" class="clip-image-4"/>
</section>
</div>
</div>
<div class="info">
<h2>Information <small>About this lesson</small></h2>
<h3>What are we making?</h3>
<p>Fun & fancy images by masking them with custom shapes!</p>
<h3>Where can I use it?</h3>
<p>In your websites and client projects as interesting ways to display images.</p>
<h3>How compatible are these styles with major browsers?</h3>
<p>Check the CSS3 styles from your stylesheet <a href="http://caniuse.com/">on this website.</a> It allows you to see the compatibility of every CSS style with major browser.</p>
</div>
<footer>
<div class="logo">
<a href="http://codecollege.ca/" id="logo">
<img src="../_theme-styles/img/bggray.svg" width="60px" id="logo_bg-gray">
<img src="../_theme-styles/img/bgyellow.svg" width="60px" id="logo_bg-yellow">
<img src="../_theme-styles/img/codecollegelogo.svg" width="60px" id="logo_codecollege">
<!-- <img src="../_theme-styles/img/codecollegelogo.png" alt="Learn to Code at CodeCollege.ca" height="60px"> -->
</a>
</div>
<div class="made-by">
Made by <a href="http://bradhussey.ca/">Brad Hussey</a>
</div>
<div class="course">
<a href="http://codecollege.ca/">Code 30 things in 30 days with CSS3</a>
</div>
<div class="copyright">
©2022 Brightside Studios Inc.
</div>
</footer>
</body>
</html>