我想繪製我的div背景上的2條平行對角線。
請看看我的表here:背景上的平行對角線
body {
background-image: url("http://i.imgur.com/TnPgXl4.jpg");
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
padding: 40px;
}
#table {
width: 800px;
height: 300px;
background-color: transparent;
border: solid 1px white;
}
<div id="table"></div>
我要實現的是這樣的:
感謝偉大的和擴展的答案! –