handle block element
This commit is contained in:
27
test/html/block-element.html
Normal file
27
test/html/block-element.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>Document</title>
|
||||
<style>
|
||||
.big {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
.small {
|
||||
width: 50px;
|
||||
height: 100px;
|
||||
float: left;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="rr-block big">block 1</div>
|
||||
<div>record 2</div>
|
||||
<div class="rr-block small">block 3</div>
|
||||
<div class="rr-block" style="height: 200px; width: 100px">block 3</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user