Skip to content

Commit

Permalink
class-14-color-overflow-shadow-fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaii committed May 30, 2024
1 parent 3eddade commit 3dda3fa
Show file tree
Hide file tree
Showing 15 changed files with 100 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
41 changes: 41 additions & 0 deletions class-14-color-overflow-shadow-fonts/class-code/index.html
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 class-14-color-overflow-shadow-fonts/class-code/styles.css
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.

0 comments on commit 3dda3fa

Please sign in to comment.