I have been attempting to use a linear gradient as the background for my body
. Surprisingly, it is functioning perfectly in Safari but unfortunately not in Chrome. Despite researching on Stack Overflow extensively, I have yet to find a solution that works for me. The code I am trying to implement was generated to be compatible with all browsers.
body {
background: rgba(121, 91, 176, 1);
background: -moz-linear-gradient(45deg, rgba(121, 91, 176, 1) 0%, rgba(74, 193, 255, 1) 66%, rgba(76, 234, 255, 1) 92%, rgba(76, 234, 255, 1) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(121, 91, 176, 1)), color-stop(66%, rgba(74, 193, 255, 1)), color-stop(92%, rgba(76, 234, 255, 1)), color-stop(100%, rgba(76, 234, 255, 1)));
background: -webkit-linear-gradient(45deg, rgba(121, 91, 176, 1) 0%, rgba(74, 193, 255, 1) 66%, rgba(76, 234, 255, 1) 92%, rgba(76, 234, 255, 1) 100%);
background: -o-linear-gradient(45deg, rgba(121, 91, 176, 1) 0%, rgba(74, 193, 255, 1) 66%, rgba(76, 234, 255, 1) 92%, rgba(76, 234, 255, 1) 100%);
background: -ms-linear-gradient(45deg, […]
[…]
Below you will find the HTML snippet that showcases the problem:
<!DOCTYPE html>
[…]
<!-- /JS WARN -->
</body>
</html>
If anyone has any suggestions, they would be greatly appreciated. Thank you.