当前位置:网站首页>Align individual elements to the right under flex layout
Align individual elements to the right under flex layout
2022-07-07 15:47:00 【Sam young】
<div class="father">
<div> On the left </div>
<div class="right"> On the right </div>
</div>
.father {
display: flex;
}
.right {
margin-left: auto
}
/** Or direct parent */
.father {
display: flex;
justify-content: space-between;
}
边栏推荐
- Whether runnable can be interrupted
- 银行需要搭建智能客服模块的中台能力,驱动全场景智能客服务升级
- [data mining] visual pattern mining: hog feature + cosine similarity /k-means clustering
- 15. Using the text editing tool VIM
- [make a boat diary] [shapr3d STL format to gcode]
- 2022 all open source enterprise card issuing network repair short website and other bugs_ 2022 enterprise level multi merchant card issuing platform source code
- Write a ten thousand word long article "CAS spin lock" to send Jay's new album to the top of the hot list
- 如何在opensea批量发布NFT(Rinkeby测试网)
- VS2005 strange breakpoint is invalid or member variable value cannot be viewed
- Zhongang Mining: Fluorite continues to lead the growth of new energy market
猜你喜欢
[quick start of Digital IC Verification] 25. AHB sramc of SystemVerilog project practice (5) (AHB key review, key points refining)
Ida Pro reverse tool finds the IP and port of the socket server
Annexb and avcc are two methods of data segmentation in decoding
postman生成时间戳,未来时间戳
HW初级流量监控,到底该怎么做
UE4 exports the picture + text combination diagram through ucanvasrendertarget2d
Briefly describe the working principle of kept
HPDC smart base Talent Development Summit essay
LeetCode2_ Add two numbers
Yunxiaoduo software internal test distribution test platform description document
随机推荐
Please supervise the 2022 plan
微信小程序 01
VS2005 strange breakpoint is invalid or member variable value cannot be viewed
一大波开源小抄来袭
Connecting FTP server tutorial
Gd32 F3 pin mapping problem SW interface cannot be burned
Detailed explanation of Cocos creator 2.4.0 rendering process
Iterator and for of.. loop
2. Basic knowledge of golang
[quick start of Digital IC Verification] 29. Ahb-sramc (9) (ahb-sramc svtb overview) of SystemVerilog project practice
Typescript release 4.8 beta
摘抄的只言片语
The rebound problem of using Scrollview in cocos Creator
Annexb and avcc are two methods of data segmentation in decoding
Wechat applet 01
[quickstart to Digital IC Validation] 20. Basic syntax for system verilog Learning 7 (Coverage Driven... Including practical exercises)
[make a boat diary] [shapr3d STL format to gcode]
【原创】一切不谈考核的管理都是扯淡!
UE4 exports the picture + text combination diagram through ucanvasrendertarget2d
Share the technical details of super signature system construction