24 lines
385 B
HTML
24 lines
385 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.floating {
|
|
width: 40px;
|
|
height: 10px;
|
|
border: 1px solid blue;
|
|
}
|
|
|
|
.container {
|
|
width: 150px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class=container>
|
|
<div class=floating style="float: left"></div>
|
|
<div class=floating style="float: right; clear: left"></div>
|
|
<div>Pass if "this" wraps to the second line.</div>
|
|
</div>
|
|
</body>
|
|
</html>
|