iT邦幫忙

0

前端工程學習日記第9天

  • 分享至 

  • twitterImage
  •  

#使用絕對定位 / 相對定位 設計版型

絕對定位:
相對定位:
如果div div 不想要並排,想要重疊再一起該怎麼做?

https://ithelp.ithome.com.tw/upload/images/20201112/20132398mV74Y3mGuE.png

這是在網頁左上角
https://ithelp.ithome.com.tw/upload/images/20201112/201323989DP6WCC3De.png
但如果要在網頁右下角或左下角就很難做到了。
就要用絕對定位
https://ithelp.ithome.com.tw/upload/images/20201112/20132398WARf2NR4Ye.png
左下角的方法
https://ithelp.ithome.com.tw/upload/images/20201112/20132398gljZZy8o6l.png
右上角的絕對位置https://ithelp.ithome.com.tw/upload/images/20201112/20132398vXSoxhBSXd.png

相對位置左上角
https://ithelp.ithome.com.tw/upload/images/20201112/20132398PUKhtfM1Gl.png


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言