close
(1)clip
→shape(top,right,bottom,left)
top 預計裁掉
right 預計留下的寬度
bottom 預計留下的高度
left 預計裁掉
→auto
(2)overflow
→visible 忽略原本尺寸,按實際內容輸出
→hidden 溢出部分裁掉
→scroll 溢出部分裁掉但有捲軸
→auto 有溢出才有捲軸
(3)z-index
(4)float(文繞圖)
→left
→right
→none
(Example)
.floatleft {
float: left;
width: 10%;
height:100%;
border-right: 1px #0000FF dotted;}
(5)clear + align:right/center/left 常使用於檔尾(如copyright)
全站熱搜