-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (60 loc) · 3.07 KB
/
Copy pathindex.html
File metadata and controls
71 lines (60 loc) · 3.07 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Article preview component</title>
<link rel="stylesheet" href="style.css">
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
<main class="card" id="card">
<div class="drawerImage"></div>
<section class="articlePreview" id="articlePreview">
<h1><strong>Shift the overall look and feel by adding these wonderful
touches to furniture in your home</strong></h1>
<p>Ever been in a room and felt like something was missing? Perhaps
it felt slightly bare and uninviting. I’ve got some simple tips
to help you make any room feel complete.</p>
<section class="articlePreview__footer" id="articlePreview__footer">
<section class="author">
<img src="images/avatar-michelle.jpg" alt=" A picture of Michelle" class="author__Img">
<div class="author__Details">
<strong>Michelle Appleton</strong>
28 Jun 2020
</div>
</section>
<div class="articlePreview__SocialLinks" id="hiddenLinks">
<p style="letter-spacing: 8px;">SHARE</p>
<img src="images/icon-facebook.svg" alt="" class="shareMediaBtn facebook">
<img src="images/icon-twitter.svg" alt="" class="shareMediaBtn twitter">
<img src="images/icon-pinterest.svg" alt="" class="shareMediaBtn pinterest">
</div>
<button class="articlePreview__ShareBtn" id="shareBtn"><img src="images/icon-share.svg" alt=""></button>
<!-- -->
</section>
</section>
</main>
<section class="articlePreview__SocialLinks__Mobile" id="articlePreview__SocialLinks__Mobile">
<div class="articlePreview__SocialLinks__Mobile__SocialLinksButtonsParent">
<p style="letter-spacing: 8px;">SHARE</p>
<img src="images/icon-facebook.svg" alt="" class="articlePreview__SocialLinks__Mobile__SocialLinksButtons facebook">
<img src="images/icon-twitter.svg" alt="" class="articlePreview__SocialLinks__Mobile__SocialLinksButtons twitter">
<img src="images/icon-pinterest.svg" alt="" class="articlePreview__SocialLinks__Mobile__SocialLinksButtons pinterest">
</div>
<button class="articlePreview__ShareBtn__Mobile" id="shareBtn__MobileAlt"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="13"><path fill="#6E8098" d="M15 6.495L8.766.014V3.88H7.441C3.33 3.88 0 7.039 0 10.936v2.049l.589-.612C2.59 10.294 5.422 9.11 8.39 9.11h.375v3.867L15 6.495z"/>
</svg></button>
<!-- <img src="images/icon-share.svg" alt=""> -->
</section>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://github.com/Kofi100">Kofi K</a>.
</div>
</body>
<script src="script.js"></script>
</html>