Mathias Mathias - 3 years ago 152
CSS Question

How does Google make his border?

I was on the google news page and I was wondering how do google make his border around each sections, because I can't find in the inspector any element with a border property. I find those borders very thin. Thanks for your help .

Answer Source

if you inspect well, then you will see its a box-shadow instead of border, Here is what they used in their css, Please check again,

box-shadow: 0 1px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.04);
background-color: #fff;

Hint: check for class .lPV2Xe

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download