Creating a Flower using CSS | HTML & CSS

0
115

Hello, learner In this article, we are going to Creating a Flower using CSS. In the earlier past post, we have created Creating a Helicopter using CSS | HTML & CSS Now it is time to create Flower.

Creating a Flower using CSS

In this program we create a Flower using HTML and css. As you see in the above image it is the output of below code. we have to create 3 different layer of flower Petal1, Petal2 and Petal3. we have to create circle on mid of the flower. now with the css we design it with yellow color and in mid of the flower make design using css.

Creating a Flower using CSS [Source code]

To create a Creating a Flower using CSS you have to create two HTML and CSS files named index.html and style.css in the same folder and you have to link the CSS file to HTML. after that paste the HTML code in index.html and paste the CSS code in style.css that’s all after pasting the code.

At first, you have to create an HTML file named index.html and paste the below code on it and save it. Remember to give a .html extension to the HTML file.

After pasting the HTML code the second you have to create a CSS file named style.css. Paste the below code on it and save it. Again remember to give .css extension to CSS file.

That’s all after after pasting the code now your code will successfully run. If you get any kind of error/problem in the code just comment down or contact me on social media

You might like this

Previous articleCreating a Helicopter using CSS | HTML & CSS
Next articleCreating a teddy bear using CSS | HTML & CSS

LEAVE A REPLY

Please enter your comment!
Please enter your name here