I am having a problem to check if the current browser supports the -webkit-text-stroke
. I tried using @media all and (-webkit-text-stroke)
and @if -webkit-text-stroke {}
, but with no success.
I have the following code:
color: transparent;
-webkit-text-stroke: 2px #ffffff;
font-size: 9rem;
margin: 0;
position: relative;
top: 35%;
left: 5%;
font-family: $font__kalam;
width: fit-content;
I'd like to know how to check if the property -webkit-text-stroke
is supported by the browser. If it's not supported I'd like to use: color: $white;
instead of the -webkit-text-stroke
and the color: transparent
. Is there any way in SCSS only to make this happen?
Thank you in advance.
~ Sander