vincentdoerig / latex-css

LaTeX.css is a CSS library that makes your website look like a LaTeX document
https://latex.vercel.app
MIT License
2.8k stars 126 forks source link

Remove CSS Properties [box shadows] #17

Closed cmcWebCode40 closed 4 years ago

cmcWebCode40 commented 4 years ago

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

vincentdoerig commented 4 years ago

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

cmcWebCode40 commented 4 years ago

You mean the card I used in testing it ?

vincentdoerig commented 4 years ago

Yes exactly

cmcWebCode40 commented 4 years ago

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;
vincentdoerig commented 4 years ago

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.

cmcWebCode40 commented 4 years ago

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