快速的問題,你會如何繞過在CSS中產生這種效果?製作一個特殊的邊框樣式的CSS網格
的想法是,電網是建立一個引導電網。所以當屏幕尺寸變小時,他們會先移動到2列,然後移動1. 因此,當有2列時,您只有中線和底線。
這可能在CSS?
\t .icon-grid{
\t \t \t -webkit-filter: drop-shadow(10px 8px 30px #222);
\t \t \t \t filter: drop-shadow(1px 8px 10px #222);
\t \t \t
\t \t \t \t padding: 75px;
\t \t \t \t border-right: black 2px solid;
\t \t \t \t border-bottom: black 2px solid;
\t \t \t \t
\t }
\t \t
<div style="color: black" class="row">
<div class="col-md-3 col-sm-6 col-xs-12"><p> <img alt="" class="icon-grid" src="https://cdn-accept-www.enfocus.com/sites/combell-accept-www.enfocus.com/files/media/product-pages/pitstop-pro/low-resolution.png"></p></div>
<div class="col-md-3 col-sm-6 col-xs-12"><p> <img alt="" class="icon-grid" src="https://cdn-accept-www.enfocus.com/sites/combell-accept-www.enfocus.com/files/media/product-pages/pitstop-pro/low-resolution.png"></p></div>
<div class="col-md-3 col-sm-6 col-xs-12"><p> <img alt="" class="icon-grid" src="https://cdn-accept-www.enfocus.com/sites/combell-accept-www.enfocus.com/files/media/product-pages/pitstop-pro/low-resolution.png"></p></div>
<div class="col-md-3 col-sm-6 col-xs-12"><p> <img alt="" class="icon-grid" src="https://cdn-accept-www.enfocus.com/sites/combell-accept-www.enfocus.com/files/media/product-pages/pitstop-pro/low-resolution.png"></p></div>
</div>
哪裏是你的代碼? –
你怎麼試試代碼? –
de圖標之間的界線 –