If set to multiple lines, it also defines the cross-axis which determines the direction new lines are stacked in, aiding responsiveness layout behavior without CSS media queries. The timeline showed that some layouts were taking close to 100 milliseconds reworking our layouts without flexbox reduced. We spent a good few hours in Chrome Developers Tools’ timeline and found the culprit: Shock, horror it was our new best friend, flexbox. It defines whether the flex items are forced in a single line or can be flowed into multiple lines. As the app began to grow, we found performance was getting worse and worse. The flex-wrap property is a sub-property of the Flexible Box Layout Module.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |