Skip to content
Tutorials Class - Logo
Tutorials Class - Logo
  •   Home
  • Tutorials

    Top Tutorials

    • PHP Tutorial
    • HTML Tutorial
    • SEO Tutorial
    • C Tutorial
    • CSS Tutorial
    • WordPress Tutorial

    Latest Tutorials

    • Python Tutorial
    • PHP REST API
    • jQuery Tutorial
    • JavaScript Tutorial
    • Bootstrap Tutorial
    • Java Tutorial

    Popular Tutorials

    • PHP Tutorial
    • HTML Tutorial
    • SEO Tutorial
    • C Tutorial
    • CSS Tutorial
    • WordPress Tutorial

    Other Tutorials

    • Python Tutorial
    • PHP REST API
    • jQuery Tutorial
    • JavaScript Tutorial
    • Bootstrap Tutorial
    • Java Tutorial
  • Exercises

    PHP Exercise

    • PHP All Exercises & Assignments
    • PHP Top Exercises
    • PHP String
    • PHP Loops
    • PHP Variables
    • PHP Decision Making

    PHP/HTML Exercise

    • PHP Functions
    • PHP Syntax
    • PHP Array
    • PHP MySQL
    • HTML Top Exercises
    • HTML Basics

    PHP Popular Exercise

    • Write a PHP program to check whether a number is positive, negative or zero
    • Write a PHP program to check if a person is eligible to vote
    • Write a simple calculator program in PHP using switch case
    • Write a program to calculate Electricity bill in PHP
    • Write a program to create Chess board in PHP using for loop
    • Write a factorial program using for loop in php

    HTML Popular Exercise

    • Program to see difference between paragraphs & normal text with line break
    • Steps to Create a Webpage in HTML using Notepad
  • Interview FAQs

    Top Interview Questions Categories

    • All PHP Interview Questions & Answers
    • PHP Interview Questions & Answers for Freshers
    • WordPress Interview Questions & Answers
    • Top GIT Interview Questions & Answers
    • All HTML Interview Questions & Answers
    • PHP Functions Interview Questions & Answers

    Top PHP Interview Questions

    • All PHP Interview Questions & Answers
    • PHP Interview Questions & Answers for Freshers
    • PHP Functions Interview Questions & Answers
    • PHP String Interview Questions & Answers
    • PHP Array Interview Questions & Answers
    • PHP Interview Questions & Answers for experienced

    Most Popular Interview Questions

  • Codes

    Code, Script & Snippets Categories

    • HTML
    • PHP
    • PHP Login Registration Scripts

    Top PHP Code, Script and Snippets

    • PHP Simple Login and Registration Script
    • PHP simple Login & Remember me script using Cookies
    • PHP Simple CRUD Application Script

    Top HTML Code, Script and Snippets

    • HTML Contact Form Template
    • Basic HTML Page layout using Div tags
    • Basic HTML Page layout using table tag
  • Blog

    Article Categories

    • Career
    • Tools & Resources
    • PHP
    • Top Articles

    Latest Articles

    • Content Writing Tips for beginners
    • List of totally free website templates (No link back)
    • Steps for jQuery Plugin Integration into Website

    Top Articles

    • Importance of PHP Self Learning & Exploring PHP Resources
    • List of jQuery amazing content sliders
    • List of Free HTML template websites
    Home » Exercises » CSS Exercises

CSS Exercises

Write CSS to change the text colour and background of a paragraph

Write CSS to style a heading (centre, uppercase, letter spacing)

Write CSS to create a box with border, padding and rounded corners

Write CSS to centre a box horizontally using margin auto

Write CSS to centre a div horizontally and vertically using Flexbox

Write CSS to create a horizontal navigation menu

Write CSS to style a table with zebra stripes

Write CSS to create a three column layout using Flexbox

Write CSS to create a responsive card grid using CSS Grid

Write CSS to create a circle and a pill-shaped button

Write CSS to create a card with box shadow and gradient background

Write CSS to make an image responsive and round

Write CSS to style a login form

Write CSS to create a pulsing animation

  • CSS Exercises Categories
  • CSS All Exercises & Assignments
  • CSS Boxes and Borders
  • CSS Layout
  • CSS Top Exercises
  • CSS Basics
  • CSS Text and Colors
  • All Tutorials
  • PHP Tutorial
  • HTML Tutorial
  • SEO Tutorial
  • C Tutorial
  • CSS Tutorial
  • WordPress Tutorial
  • Python Tutorial
  • PHP REST API
  • jQuery Tutorial
  • JavaScript Tutorial
  • Bootstrap Tutorial




Tutorials Class - Online Tutorials, Exercises, & Interview Questions
  • Tutorials
  • Exercises
  • Interview Questions
  • Code Scripts

About Tutorials Class

Tutorials Class (TutorialsClass.com) is one stop portal to learn online about different web technologies, preparing for an interview and enhancing your technical skills.

We provide free online tutorials on the latest web technologies. These tutorials are well structured and easy to use for beginners. With each tutorial, you may find a list of related exercises, assignments, codes, articles & interview questions.

This website provides tutorials on PHP, HTML, CSS, SEO, C, C++, JavaScript, WordPress, and Digital Marketing for Beginners. Start Learning Now.

Popular Tutorials

  • PHP Tutorial
  • HTML Tutorial
  • SEO Tutorial
  • C Tutorial
  • CSS Tutorial
  • WordPress Tutorial
  • Python Tutorial
  • PHP REST API
  • Bootstrap Tutorial

Interview FAQs

  • All PHP Interview Questions & Answers
  • PHP Interview Questions & Answers for Freshers
  • WordPress Interview Questions & Answers
  • Top GIT Interview Questions & Answers
  • All HTML Interview Questions & Answers
  • PHP Functions Interview Questions & Answers

Popular Exercises

  • PHP Top Exercises
  • PHP String
  • PHP Loops
  • PHP Variables
  • PHP Decision Making
  • PHP Functions
  • PHP MySQL
  • HTML Top Exercises
  • HTML Basics

Contact

Tutorials Class is maintained by Merient Infotech (Rohtak).

If you have any query or have any feedback about some Tutorial’s content, Contact Us.

Email: tutorialsclass.com@gmail.com

Facebook: https://facebook.com/tutorialsclass

© Copyright 2015 - 2026 Tutorials Class. All Rights Reserved | Sitemap | Terms & Conditions | Privacy Policy