Create a Graphic Using CSS Help

Tell us what’s happening:

Your code so far


<style>
.center
{
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 25px 10px blue;
  blur-radius:0;
  spread-radius:0;
}

</style>
<div class="center"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-graphic-using-css

What message are you getting?

This needs to be done: The value of the box-shadow property should be set to 25px for offset-x, 10px for offset-y, 0 for blur-radius, 0 for spread-radius, and finally blue for the color.

You have set up the offset-x and offset-y but not the blur-radius and spread-radius.

box-shadow: offset-x, offset-y, blur-radius, spread-radius;

This is the structure it is explained for box-shadow in the instruction, now apply the correct values, there are no separate properties as you mentioned. And add the color in the end as you have done it.

2 Likes

background-color: transparent;
border-radius: 50%;
box-shadow: 25px 10px 0px 0px blue;

Thanks a bunch. It worked. box-shadow: 25px 10px 0 0 blue;

still canoot crack the coad !!

What’s wrong?
All you have to do is what is says you to.

background-color: transparent;
border-radius: 50%;
box-shadow: 25px 10px 0px 0px blue;

thank man !!
got it !!!

By the way, make sure you put the problem under “Tell us what’s happening” next time. Makes it a lot easier for the form.

Thank u sujith3021 this is the right solution for any one