1
我試圖構建具有文本內容和邊框(白色1px行)的梯形。如何製作帶有邊框的梯形
我發現的例子像這樣的東西:
height: 0;
width: 120px;
border-bottom: 120px solid #ec3504;
border-left: 60px solid transparent;
border-right: 60px solid transparent;
這是一個PNG例如,如果我用這個作爲背景色transpartent它會工作,但是怎樣的一個黑客,而不是作爲不錯.. 。
「夾路徑」似乎沒有足夠的支持,那麼,有沒有其他的方法? SVG會成爲可能嗎?
由於提前
肯定的是,你能做到這一點的SVG。 –
相關(或可能重複)http://stackoverflow.com/questions/15724678/creating-an-isoceles-trapezoid-shape/25833643#25833643 – Harry