>>>>>>>>>>>stylish的css常用方法<<<<<<<<<<<<
选择的对象{属性1:值!important;属性2:值!important;........;}
对象选择有ID的用
#加上id名 如#main-windows
有类名的用.加类名 如 .tabs-newtab-button
应用多个对象则用逗号隔开
如#xxxxx,.yyyy{.....}
对象的常用属性有背景颜**ackground(或background-color)
颜色可以用小写的单词表示如pink red
也可以用16进制 #ffffff
也可以用rgb如 rgb(0,0,0)
还可以用rgba(0,0,0,0.5),最后一个是透明度 ,0是全透明
再一个属性是可见性(即隐藏)display 值有none(none是隐藏)
还有诸如背景图background-image 值是url("地址")
对于框模型
还有设置内边距(pdadding)外边距 (margin)边界 (border)高度 (height))宽度(width)等,他们的值一般用px(相素),可以与top left right bottom搭配
如#main-window{margin-top:8px!important;}表示主界面的外边距是8像素,这样火狐橙色按钮以下内容都往下移动了8px;