Today I came into contact with a small game from Tencent. There is a question in it
The answer is to set dipslay:flex on the parent element; and set flex:1 on the second div
I would like to ask, what does this do? What is it?
No one has used it?
Very few people use it like this
Very few people use it like this
This is the flexible layout in css3
http://css-tricks.com/snippets/css/a-guide-to-flexbox/
?Layout method , you can get it after solving it
If you don’t understand the website yet, let’s take a look first
I haven’t used it before, I checked it online and I understand the purpose
This is the flexible layout in CSS3
I haven’t used it before, but I checked it online and understood its use.