CSS Exercises:
Easy CSS coding:
First create a simple website with the largest heading with the text "Hello World"
Style this website as follows:
-
Make the heading text blue
-
Now change the heading's background color to green
-
Make the webpage have a background color of yellow
-
Make the heading center aligned
-
Give the heading a border with a thickness, color and pattern of your preference
-
Create some space around the heading and border
-
Give the heading a width and height
-
Give the heading some space around the border
-
Give the heading an outline
-
Now, rotate the heading 60 degrees clockwise
-
Translate or move the heading from it's normal position a little bit
-
Magnify or scale the heading
-
Skew or twist the element a little bit
-
Change the cursor (mouse arrow) to whatever you like when you hover over the heading
-
coming soon
-
coming soon
- Create a new heading without any formatting to it and add the following to a transistion:
-
Make the background color change (transistion) when you mouse over this heading
-
Make the border and outline change
-
Make the padding change
-
Increase the font size
-
right align the font
-
Make the text color change
-
Make the heading rotate
- Create a new heading without any formatting to it and add the following Animations:
-
Make the background color switch a few times to colors of your choice
-
Make the border and outline change as well
-
Make the padding change
-
Increase the font size
-
right align the font
-
Make the text color change
-
Make the heading rotate