84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
如图,父级容器使用了flex布局,其中align-items: center;但子元素中右边红色字体部分,我想让其飘到右边去,但float属性失效;请问如何解决?
人生最曼妙的风景,竟是内心的淡定与从容!
The gray text on the left is placed in one element, and the red text on the right is placed in another element. Both sub-elements are given a flex:1, and the text alignment of the element on the right is written as: text-align:right;
The gray text on the left is placed in one element, and the red text on the right is placed in another element. Both sub-elements are given a flex:1, and the text alignment of the element on the right is written as: text-align:right;