css partial border to create 'place holder'
问题 Using CSS, how can I create a partial border as per image below I can get the complete border with: border: 1px solid #f5f5f5; but only want to show maybe 30px at the top and botton of the vertical border with nothing imbetween? can this be acheived? Thanks as always, 回答1: There is a CSS solution, but it's complicated and also requires HTML markup: #box { width: 200px; height: 200px; margin: 30px; position: relative; } #box > div.corner { display: block; position: absolute; width: 50px;