Skip to content

Commit 403ed71

Browse files
committed
Video 26 Completed
1 parent 96fb123 commit 403ed71

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Video 26/index.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Overflow</title>
8+
<style>
9+
.box {
10+
width: 30vw;
11+
height: 30vh;
12+
border: 2px solid black;
13+
/* overflow: auto;
14+
overflow-x: hidden;
15+
overflow-y: scroll; */
16+
overflow: auto hidden;
17+
/* white-space: nowrap;
18+
text-overflow: ellipsis; */
19+
}
20+
</style>
21+
</head>
22+
23+
<body>
24+
<div class="box">
25+
I am a good boy and I love to write Lorem ipsum dolor, sit amet consectetur adipisicing elit. Dicta iure amet
26+
unde voluptas nihil vero, maxime esse quis quos natus rem, earum aspernatur quasi aut ea commodi nostrum
27+
voluptate! Sint rerum nostrum perferendis sapiente explicabo perspiciatis, ut magni? Aspernatur, provident
28+
dolorum unde corporis doloribus rem!
29+
</div>
30+
</body>
31+
32+
</html>

0 commit comments

Comments
 (0)