0

What's the problem in these code?? When i run on it it's doesn't showing the radial gradient

div3{ float:left; width:600; height:500; margin:10px; color:darkgreen; background:radial-gradient(circle , red 80%, yellow 80%, pink 70%); }

15th Jul 2021, 7:27 AM
Het Cholera
1 Réponse
0
first your selector is not a valid tag name... if you want to target an id prepend '#' before the id name, or if you want to target a class prepend '.' before the class name ^^ secondly, width and height values are just numbers: you must provide units to them to be valid ;P #div6 { float:left; width:600px; height:500px; /* rest of your properties definitions */ }
15th Jul 2021, 7:40 AM
visph
visph - avatar