Forum

CSS Rule in Web Designing

This thread contains 1 reply, has 2 voices, and was last updated by Hitesh 5 years 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.


Viewing 1 reply thread

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

GET FREE CONSULTATION

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.

SUBSCRIBE TO OUR NEWSLETTER

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha