Skip to content

How to remove separator line when using background left or right image #537

Answered by yhatt
SoumayaMauthoorMOJ asked this question in Q&A
Discussion options

You must be logged in to vote

Similar: https://stackoverflow.com/questions/51681584/issue-with-inset-box-shadow-and-transform-scale-on-chrome

box-shadow with the inset keyword creates a filled area around the slide container. It seems to be leaking the color from the around if the scaling for the section element was specific scale.

One idea to avoid leaks the color is to make the fill area a little thinner by using 4th parameter of box-shadow property <spread-radius>.

-box-shadow: inset 0 -60px 0 var(--primary-color);
+box-shadow: inset 0 -61px 0 -1px var(--primary-color);

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@yhatt
Comment options

Answer selected by SoumayaMauthoorMOJ
@SoumayaMauthoorMOJ
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants