Add comment to explain combining of flex and float

Just so no-one thinks it’s redundant and removes it.
This commit is contained in:
Chris Hill-Scott
2018-11-13 14:22:48 +00:00
parent 66cf12ba65
commit 807396f8b9

View File

@@ -6,6 +6,13 @@
width: 25%;
flex-grow: 1;
text-align: left;
/*
For browsers that dont support flexbox, use float instead.
Float does not create floating of flex item, and do not take it
out-of-flow. So this is ignored by browsers that support flexbox.
See: https://www.w3.org/TR/css-flexbox-1/#flex-containers
*/
float: left;
}