i have been trying to add linear gradients and radial gradients for a while now and its just not working
ive tried copying and pasting code from other people and trying other browsers it’s just not working
css:
.gradient{
background-color:hsla(0,0%,0%,1);
background-image:
radial-gradient(at 100% 93%, hsla(40,100%,50%,1) 0px, transparent 50%),
radial-gradient(at 80% 0%, hsla(189,0%,0%,1) 0px, transparent 50%),
radial-gradient(at 0% 50%, hsla(34,100%,50%,1) 0px, transparent 50%),
radial-gradient(at 80% 50%, hsla(38,0%,0%,1) 0px, transparent 50%),
radial-gradient(at 0% 100%, hsla(20,0%,0%,1) 0px, transparent 50%),
radial-gradient(at 80% 100%, hsla(240,0%,0%,1) 0px, transparent 50%),
radial-gradient(at 0% 0%, hsla(24,100%,50%,1) 0px, transparent
}
html:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css" type="text/css" media="all" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<div class="container-fluid gradient"><h1>meow</h1></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>
New contributor
Ladarrin Holman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.