File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
html/rendering/non-replaced-elements/the-br-element Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < meta charset ="utf-8 ">
3+ < div style ="max-width: 100px; height: 100px; background: green; "> </ div >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < meta charset ="utf-8 ">
3+ < title > The clear attribute applies the clear CSS property.</ title >
4+ < link rel ="author " title ="Psychpsyo " href ="mailto:psychpsyo@gmail.com ">
5+ < link rel ="help " href ="https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3 ">
6+ < link rel =match href ="./br-clear-presentational-hints-ref.html ">
7+ < style >
8+ body {
9+ line-height : 0 ;
10+ }
11+ .test > div {
12+ width : 25px ;
13+ height : 50px ;
14+ background : green;
15+ }
16+ </ style >
17+ < div style ="max-width: 100px; display: flex; ">
18+ < div class ="test ">
19+ < div style ="float:right "> </ div >
20+ < br clear ="all ">
21+ < div > </ div >
22+ </ div >
23+ < div class ="test ">
24+ < div style ="float:right "> </ div >
25+ < br clear ="both ">
26+ < div > </ div >
27+ </ div >
28+ < div class ="test ">
29+ < div style ="float:right "> </ div >
30+ < br clear ="right ">
31+ < div > </ div >
32+ </ div >
33+ < div class ="test ">
34+ < div style ="float:left "> </ div >
35+ < br clear ="left ">
36+ < div > </ div >
37+ </ div >
38+ </ div >
You can’t perform that action at this time.
0 commit comments