Skip to content

Commit

Permalink
Merge pull request #1 from netcse/dev
Browse files Browse the repository at this point in the history
added some html files
  • Loading branch information
netcse authored Jul 17, 2024
2 parents 2035af4 + 5c6196c commit d0c7e0e
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
28 changes: 28 additions & 0 deletions overflow.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE>
<html>

<head>
<style>
p {
width: 120px;
height: 100px;
border: 1px solid;
overflow: scroll;
}
</style>
</head>

<body>
<h2>
GEEKSFORGEEKS
</h2>

<p>
The CSS overflow controls big content.
It tells whether to clip content or
to add scroll bars.
</p>

</body>

</html>
33 changes: 33 additions & 0 deletions zindex.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>

<head>
<title>
z-index Property
</title>
<style>
img {
position: absolute;
left: 0px;
top: 0px;
z-index: -2;
}

h1,
p {
background-color: green;
}
</style>
</head>

<body>

<h1>GeeksforGeeks</h1>
<img src=
"https://media.geeksforgeeks.org/wp-content/uploads/geek.png"
width="400"
height="150">
<p>This example shows the use of z-index property.</p>
</body>

</html>

0 comments on commit d0c7e0e

Please sign in to comment.