0

I have given box shadow effect for a DIV. But the same code looks darker in safari and thinner in chrome. The shadow not appear in left and top for chrome browser.

.div_wrapper {
  box-shadow: 4px 4px 15px -6px black;
  -moz-box-shadow: 4px 4px 15px -6px black;
  -webkit-box-shadow: 4px 4px 15px -6px black;
  background: #fff;
  padding: 10px;
  width: 400px;
  height: 400px;
  margin-bottom: 10px;
}

1 Answers1

1

It's normal. Some CSS properties will behave differently due to the difference of representation mechanism of diffierent browsers.

In addition, you can also load different CSS file for different browsers.