CSS Rule in Web Designing

This thread contains 1 reply, has 2 voices, and was last updated by  Hitesh 7 months, 2 weeks ago.

  • Author Replies
  • #55188

    What is CSS Rule in Web Designing?

  • #55190

    There are two types of CSS rules:

    (i) Ruleset

    Ruleset recognizes selectors and declares style which is to be connected to that selectors. For instance P {text-indent: 10pt} is a CSS rule.

    CSS rulesets comprise of two sections: Selector and Declaration

    e.g. {text-indent: 10pt}.
    P {text-indent: 10pt} – CSS rule (ruleset)
    {text-indent: 10pt} – CSS declaration

    (ii) At-rule

    At-rule is a standard that applies to the entire style sheet and not to a particular selector just (like in ruleset). They all start with the @ symbol pursued by a keyword made up of letters a-z, A-Z, digits 0-9, dashes and escaped characters, for example, @import or @font-face.

You must be to reply to this thread.Please or . Registration is 100% free.


Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.


Contact Us

Working Hours

  • Monday9:00 AM – 9:00 PM
  • Tuesday9:00 AM – 9:00 PM
  • Wednesday9:00 AM – 9:00 PM
  • Thursday9:00 AM – 9:00 PM
  • Friday9:00 AM – 9:00 PM
  • Saturday9:00 AM – 9:00 PM
  • SundayClosed
Copyright 2016-2019 Smart Mentors. All Rights Reserved.



Sign up now to Become An Instructor

Register your Interest