方式一:盒子設定width+margin(不推薦)
方式二:使用定位position+margin-left(不推薦)
方式三:使用定位position+transform(推薦)
方式四:使用flex(推薦)
完事啦,收工~ ^_^ Bye~
方式一:盒子設定width+margin(不推薦)
方式二:使用定位position+margin-left(不推薦)
方式三:使用定位position+transform(推薦)
方式四:使用flex(推薦)
完事啦,收工~ ^_^ Bye~
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。