Gradient Text is not visible in Safari

skhan10
1 Posts
skhan10 posted this 16 September 2021
Ask a Question

Hello,

I am trying to apply some gradient effect to the <h4></h4> tag across all pages of the website. Gradient effect gets applied succesfully to the H4 tag in all browsers except Safari.

Can anyone please suggest at to what might be wrong with my css? My knowledge of frontend design and development is very limited. Any help would be highly appreciated. Thanks!

Here is my CSS:

h4 {
display: inline-block;
font-size: 15px;
background: -webkit-linear-gradient(left, #318CE7, #b666d2);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

Hello, I am trying to apply some gradient effect to the &lt;h4&gt;&lt;/h4&gt; tag across all pages of the website. Gradient effect gets applied succesfully to the H4 tag in all browsers except Safari. Can anyone please suggest at to what might be wrong with my css? My knowledge of frontend design and development is very limited. Any help would be highly appreciated. Thanks! Here is my CSS: > h4 { display: inline-block; font-size: 15px; background: -webkit-linear-gradient(left, #318CE7, #b666d2); -webkit-background-clip: text; background-clip: text; color: transparent; }

Last edited 16 September 2021 by skhan10

Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 17 September 2021

Hello,

The best practice is to include webkit's for all browsers and put linear-gradient property without webkit in the end.
Please note that some browsers have limited support or bugs with some CSS properties.
That's not related to the Nicepage problem, but we hope our information was helpful.
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello, The best practice is to include webkit's for all browsers and put linear-gradient property without webkit in the end. Please note that some browsers have limited support or bugs with some CSS properties. That's not related to the Nicepage problem, but we hope our information was helpful. ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments