The shadow of div is displayed differently in safari and chrome.
Do I need some type of prefix?
I have given it many laps and I can not find the solution so that the shadow is also displayed in the other browsers.
HTML:
<article class="squares">
<h3>Some works that I´ve developed</h3>
<div><a href="#">Selectors & Hierarchy</a></div>
<div><a href="#">Measures & Colors</a></div>
<div><a href="#">Box models & Display</a></div>
<div><a href="#">Selectors & Hierarchy</a></div>
<div><a href="#">Selectors & Hierarchy</a></div>
<div><a href="#">Selectors & Hierarchy</a></div>
....
CCS:
.squares div{
height: 220px;
width: 100%;
background: white;
text-align: center;
vertical-align: bottom;
background-size: 100% !important;
box-shadow: inset 0 0 400px black;
border-bottom: 5px solid white;
margin: 0;
padding:0;
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
}
Here is the website if you want to see the result
I appreciate any help!
Edit: I've added the prefixes -moz and -webkit and the error persists