Menu
×
×
Correct!
Exercise:Add a horizontal scrollbar to the <div> element.
<style>
.intro {
width: 200px;
height: 70px;
@(10): @(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-x: scroll;
}
</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?