background導航分隔線屬性
.nav li{background:linear-gradient(to bottom,#dd2926,#a82724,#dd2926) no-repeat right / 1px 15px;}這個后面的no-repeat right / 1px 15px;是什么地方的屬性呀?完全看不懂。
.nav li{background:linear-gradient(to bottom,#dd2926,#a82724,#dd2926) no-repeat right / 1px 15px;}這個后面的no-repeat right / 1px 15px;是什么地方的屬性呀?完全看不懂。
2016-12-04
舉報
2016-12-04
中間的/符號什么意思呀?這個語法完全沒有見過呢。
2016-12-04
background : [background-color] | [background-image] | [background-position][/background-size] | [background-repeat] | [background-attachment] | [background-clip] | [background-origin],...
no-repeat:不平鋪 ?right:位置靠右 1px 15px:背景尺寸