vincentdoerig/latex-css

Remove CSS Properties [box shadows]

cmcWebCode40 opened this issue · 6 comments

Description

I used this CDNlink on my SPA page and it worked well but for some element used as cards that have box-shadows doesn't comply with the pattern

Solution

I'm suggesting that on default CSS properties like box-shadow should removed

Could you please send the markup for the card so that I can try to reproduce the issue and see what elements are affected?

You mean the card I used in testing it ?

Yes exactly

I tested it with a project i'm building with react and scss for styling

.product {
  position: relative;
  background: $white;
  text-align: center;
  cursor: pointer;
  width: 75%;
  border-radius: $border-radius;
  margin: 2rem auto;
  box-shadow: $box-shadow;
}

actually the value for my box-shadow property is

$box-shadow: -1px 3px 18px 1px #f4f4f4, -3px 6px 18px -3px #f4f4f4;

I'm sorry, but I don't really understand the issue you are having. Is this related to LaTeX.css? This library does not set any box-shadows on any elements and afaik no browser vendor puts a default box-shadow on any element.

I get you i was thinking it could remove an existing the box shadow if it has any on a web page?
but since you say the library does not set any elements that's ok
Thanks