forked from gitdagray/css_course
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
175 additions
and
0 deletions.
There are no files selected for viewing
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,101 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap"); | ||
|
||
/* Begin Reset */ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
img { display: block; } | ||
/* End Reset */ | ||
|
||
/* Utility Classes */ | ||
.nowrap { | ||
white-space: nowrap; | ||
} | ||
|
||
.offscreen { | ||
position: absolute; | ||
left: -10000px; | ||
} | ||
|
||
/* End Utility Classes */ | ||
|
||
body { | ||
font-family: "Nunito", sans-serif; | ||
min-height: 100vh; | ||
background-color: aliceblue; | ||
/* background-image: url("../img/bubbles.png"), linear-gradient(to left, steelblue, #fff); | ||
background-repeat: repeat-y, no-repeat; | ||
background-position: right center; */ | ||
|
||
background: repeat-y right center url("../img/bubbles.png"), no-repeat linear-gradient(to left, steelblue, #fff); | ||
background-size: 20%, auto; | ||
} | ||
|
||
.container { | ||
background-color: rgb(251, 210, 156); | ||
background-image: url('../img/map-2176x1451.png'); | ||
background-repeat: no-repeat; | ||
background-position: top; | ||
background-size: cover; | ||
} | ||
|
||
.hero { | ||
border-bottom: 2px solid #000; | ||
padding: 20px; | ||
display: flex; | ||
justify-content: flex-start; | ||
align-items: center; | ||
gap: 30px; | ||
|
||
background-color: hsla(0, 0%, 100%, 0.35); | ||
|
||
} | ||
|
||
.h1 { | ||
font-size: 500%; | ||
color: aliceblue; | ||
text-shadow: 2px 2px 5px #000; | ||
/* background-color: hsla(0, 0%, 0%, 0.403); | ||
padding: 0.25rem; | ||
border-radius: 10px; */ | ||
} | ||
|
||
.profile-pic-figure { | ||
width: 35%; | ||
} | ||
|
||
.profile-pic-figure img { | ||
width: 100%; | ||
height: auto; | ||
min-width: 100px; | ||
border: 5px double gray; | ||
border-radius: 50%; | ||
} | ||
|
||
.example { | ||
margin-top: 1rem; | ||
padding-left: 20px; | ||
border: 1px solid red; | ||
} | ||
|
||
.example img { | ||
width: 25%; | ||
height: auto; | ||
} | ||
|
||
.clip { | ||
font-weight: 800; | ||
font-size: 18rem; | ||
text-align: center; | ||
background-image: url("../img/scenic-2200x1331.png"); | ||
background-size: 100%; | ||
text-transform: uppercase; | ||
-webkit-background-clip: text; | ||
background-clip: text; | ||
color: transparent; | ||
} | ||
|
||
|
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.
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.
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.
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,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>CSS Images</title> | ||
<link rel="stylesheet" href="css/style.css"> | ||
</head> | ||
|
||
<body> | ||
<!-- <div class="container"> | ||
<section class="hero"> | ||
<figure class="profile-pic-figure"> | ||
<img src="img/profile-800x800.png" alt="Profile Picture" title="My Profile Picture" width="800" height="800"> | ||
<figcaption class="offscreen">Jane Doe</figcaption> | ||
</figure> | ||
<h1 class="h1"> | ||
<span class="nowrap">Hello π</span> | ||
<span class="nowrap">I'm Jane</span> | ||
</h1> | ||
</section> | ||
</div> --> | ||
<!-- <section class="example"> | ||
<img src="img/pat1.png" alt="Pattern 1" width="200" height="200"> | ||
</section> --> | ||
<section> | ||
<p class="clip">Jane</p> | ||
</section> | ||
</body> | ||
|
||
</html> |
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,17 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap"); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
font-family: "Nunito", sans-serif; | ||
min-height: 100vh; | ||
} | ||
|
||
|
||
|
||
|
||
|
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.
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.
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.
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,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>CSS Images</title> | ||
<link rel="stylesheet" href="css/style.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
</body> | ||
|
||
</html> |
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