-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"I Just completed my first Front-End Mentor challenge - 'QR code' usi…
…ng HTML and CSS! i'm Interested in feedback from my fellow developers on the design. Looking forward to hearing your thoughts and suggestions!"
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
body { | ||
background-color: hsl(212, 45%, 89%); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.container { | ||
padding: 1.5rem 0.3rem; | ||
margin: 4rem; | ||
display: grid; | ||
place-items: center; | ||
background-color: hsl(0, 0%, 100%); | ||
width: 15.7rem; | ||
height: 100%; | ||
border-radius: 1rem; | ||
|
||
} | ||
|
||
img { | ||
width: 230px; | ||
height: 250px; | ||
border-radius: 0.8rem; | ||
margin-top: -8px; | ||
} | ||
|
||
p { | ||
color: hsl(218, 44%, 22%); | ||
font-size: 15px; | ||
font-weight: 700; | ||
display: block; | ||
margin-inline-start: 2rem; | ||
margin-inline-end: 3rem; | ||
text-align: center; | ||
line-height: 1.2rem; | ||
margin-left: 2.2rem; | ||
} | ||
|
||
span { | ||
font-weight: 400; | ||
color: hsl(220, 15%, 55%); | ||
text-align: center; | ||
margin: 3px 5px; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.container { | ||
display: grid; | ||
place-items: center; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>QR Code</title> | ||
<link rel="stylesheet" href="index.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<img src="./images/image-qr-code.png" alt=""> | ||
<p>Improve your front-end skills by building projects</p> | ||
<span>Scan the QR code to visit Frontend Mentor and take your coding skills to<br> the next level</span> | ||
</div> | ||
</body> | ||
</html> |