File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments