Menu
×
×
Correct!
Exercise:Specify that the overflowing text in the <div> element should not be visible, not even with a scroll bar.
<style>
.intro {
width: 200px;
height: 70px;
@(8): @(6);
}
</style>
<body>
<div class="intro">
Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. </div> </body>
<style>
.intro {
width: 200px;
height: 70px;
overflow: hidden;
}
</style>
<body>
<div class="intro">
Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. </div> </body> Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?