get the app get the app       get the app       get the app
What is grouping?


  • : 285
  • : 19
    Previous Next

    When more than one selector shares the same declaration, they may be grouped together via a comma-separated list; this allows you to reduce the size of the CSS (every bit and byte is important) and makes it more readable. The following snippet applies the same background to the first three heading elements.

    h1, h2, h3 {background: red;}

    you can suggest other answer in comment box


  • Exam: CSS Interview QUESTIONS





    Recommended Learning for you

    Close(X)
    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material