其他分享
首页 > 其他分享> > 学成在线案例

学成在线案例

作者:互联网

  

1.布局定位属性 display/position/float/clear/visibility/overflow
2.自身属性关系 width/height/margin/padding/border/background
3.文本属性: color/font/text-decoration/text-align/vertical-align/white-space/break-word
4.其他属性(css3): content/cursor/border-radius/box-shadow/text-shadow/background:linear-gradient 

 

  1.在做导航栏(.nav)时,实际开发中,我们不会用链接a而是用li包含链接(li+a)的做法。

  2.给盒子宽时,使用padding会撑大盒子

  3.按钮默认有个边框

  4.行内块元素中间会有空白缝隙  input button

  5.半透明 background:rgba

  6.浮动的盒子不会有外边距合并问题

  7.边界随字体大小变化: 则需要精确到设置字体大小的选择器里

标签:学成,字体大小,在线,text,案例,background,盒子,shadow,border
来源: https://www.cnblogs.com/zyq982796687/p/14409305.html