2016-09-25 29 views
-1

這兩個類的最低限度的語法是什麼?min css這兩個類和ids

.sortable1Wrapper { width:190px; height:200px; border: 1px solid #eee; float:left; margin: 0px 5px 0px 0px } 
.sortable2Wrapper { width:190px; height:200px; border: 1px solid #eee; float:left; } 

什麼是我的風格由他們的ID?

.sortable1Wrapper { width:190px; height:200px; border: 1px solid #eee; float:left; margin: 0px 5px 0px 0px } 
.sortable2Wrapper { width:190px; height:200px; border: 1px solid #eee; float:left; } 

回答

1

極簡sintax爲你的兩個類是

.sortable1Wrapper, .sortable2Wrapper { width:190px; height:200px; border: 1px solid #eee; float:left; } 
.sortable1Wrapper { margin: 0px 5px 0px 0px } 
+0

有沒有在第二行的類銑牀「R」? – Steve

+0

@Steve missing r .. added ..答覆更新..謝謝 – scaisEdge

+0

thx @scaisEdge。 – Steve