-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
class-14-color-overflow-shadow-fonts
- Loading branch information
Showing
15 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
class-14-color-overflow-shadow-fonts/class-code/.vscode/settings.json
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,3 @@ | ||
{ | ||
"liveServer.settings.port": 5501 | ||
} |
41 changes: 41 additions & 0 deletions
41
class-14-color-overflow-shadow-fonts/class-code/index.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,41 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
|
||
<link rel="stylesheet" href="styles.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans"> | ||
</head> | ||
<body> | ||
<div id="id1">colors using names</div> | ||
|
||
<div id="id2">colors using names</div> | ||
|
||
<div id="id3">colors using names</div> | ||
|
||
<div id="id4">colors using names</div> | ||
|
||
<br> | ||
|
||
<!-- overflow --> | ||
|
||
<div class="overflow">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Cumque ullam fuga eveniet quod excepturi ducimus nesciunt veniam odio ad, eligendi laborum odit qui repellendus voluptas vitae, doloremque consectetur inventore incidunt magni, recusandae accusantium. Vero nemo vitae quod enim, aspernatur nihil ad voluptatibus, perferendis consectetur suscipit impedit, assumenda similique tenetur. Voluptatum, eius. Quos quisquam itaque sit illo non eos dolorem deleniti eveniet temporibus, animi ex facere et delectus magni culpa labore voluptatibus. Molestias officiis, eius esse dignissimos modi a atque voluptatem ducimus aut repudiandae dicta! Vitae molestiae adipisci, nihil repudiandae sint sequi asperiores dolor mollitia voluptate minima repellendus cupiditate. Reiciendis, mollitia!</div> | ||
|
||
<h1>Mainak Ghosh</h1> | ||
|
||
<div class="box1"> | ||
<p>lorem</p> | ||
|
||
</div> | ||
|
||
|
||
|
||
</body> | ||
|
||
|
||
<!-- shadow --> | ||
|
||
|
||
</html> |
56 changes: 56 additions & 0 deletions
56
class-14-color-overflow-shadow-fonts/class-code/styles.css
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,56 @@ | ||
#id1{ | ||
font-size: 40px; | ||
/* color: red; */ | ||
background-color: red; | ||
} | ||
|
||
|
||
#id2{ | ||
font-size: 40px; | ||
/* color: red; */ | ||
background-color: rgb(85, 34, 225); | ||
} | ||
|
||
|
||
#id3{ | ||
font-size: 40px; | ||
/* color: red; */ | ||
background-color: #1ed831; | ||
} | ||
|
||
#id4{ | ||
font-size: 40px; | ||
/* color: red; */ | ||
background-color: hsl(120, 9%, 33%); | ||
} | ||
|
||
h1{ | ||
font-size: 40px; | ||
text-shadow: -3px -3px 5px red; | ||
} | ||
|
||
.overflow | ||
{ | ||
border: 3px solid; | ||
width:80%; | ||
height: 75px; | ||
overflow: auto; | ||
/* overflow: clip; | ||
overflow-clip-margin: 200px; */ | ||
line-height: 100px; | ||
|
||
} | ||
|
||
.box1{ | ||
text-align: right; | ||
width: 50%; | ||
height: 100px; | ||
background-color: #1ed831; | ||
/* border: 2px solid black; */ | ||
box-shadow: 3px 3px 5px; | ||
|
||
} | ||
|
||
body{ | ||
font-family: 'Open Sans', sans-serif; | ||
} |
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.
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.