Web前端样式属性包括但不限于以下几种:
盒模型:包括width,height,padding,margin,box-sizing等属性。
常用文本样式属性:包括color,font-size,font-weight,font-style,text-decoration等属性。
字体属性:包括font-family,@font-face等属性。
段落和行相关属性:包括text-indent,line-height,text-align等属性。
CSS的书写位置:包括style,link,@import等属性。
层叠性和选择权重:伪元素包括::before,::after,::selection,::first-letter,::first-line等属性;伪类包括::link,:visited,:active,:hover等属性。
CSS3新增伪类:包括::empty,:focus,:enabled,:disabled,:checked,:root等属性。
标签选择器和id选择器:包括class选择器:.class等属性。
复合选择器:包括后代,交集,并集等属性。
元素关系选择器:包括子选择器,相邻兄弟,通用兄弟选择器等属性。
序号选择器:包括::first-child,::last-child,::nth相关等属性。
浮动:包括float,BFC,overflow,clear等属性。
定位:包括position,relative,top,bottom,left,right,absolute,z-index,fixed等属性。
鼠标样式:包括cursor等属性。
边框:包括border相关属性(solid,dashed,dotted)等。
圆角:包括border-radius等属性。
盒子阴影:包括box-shadow等属性。
背景:包括background相关等属性。
这些样式属性可以用来控制网页的布局和外观。在实践中,可以根据需要选择合适的样式属性来设置网页的样式。