Merge pull request #11 from kewisch/floatclear
Offer floatc to clear floats
This commit is contained in:
commit
1cc5d51137
@ -6,7 +6,7 @@
|
|||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-wrap="columns"] > p, [data-wrap="floatl"] > p, [data-wrap="floatr"] > p {
|
[data-wrap="columns"] > p, [data-wrap="floatl"] > p, [data-wrap="floatr"] > p, [data-wrap="floatc"] > p {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@ -20,3 +20,7 @@
|
|||||||
float: right;
|
float: right;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[data-wrap="floatc"] {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
@ -14,4 +14,5 @@
|
|||||||
|
|
||||||
[data-wrap="floatr"] {
|
[data-wrap="floatr"] {
|
||||||
}
|
}
|
||||||
|
[data-wrap="floatc"] {
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user