Author Topic: What Is Grouping In CSS3?  (Read 53 times)

Kajal

  • Hero Member
  • *****
  • Posts: 2473
  • Welcome to Digital Marketing Forum!
    • View Profile
What Is Grouping In CSS3?
« on: August 03, 2017, 01:31:17 am »
What Is Grouping In CSS3?

travelowebseo

  • Sr. Member
  • ****
  • Posts: 336
  • Welcome to Digital Marketing Forum!
    • View Profile
    • https://www.traveloweb.com
Re: What Is Grouping In CSS3?
« Reply #1 on: September 08, 2017, 02:17:10 am »
By grouping CSS selectors that share the same declaration and declarations that share the same selector you can apply multiple declarations to multiple selectors to optimize your style sheets. ... This technique allows you to create compact yet powerful CSS rules

charisma98

  • Newbie
  • *
  • Posts: 4
  • Welcome to Digital Marketing Forum!
    • View Profile
Re: What Is Grouping In CSS3?
« Reply #2 on: September 13, 2017, 04:01:32 am »
Grouping in CSS is a technique used to reduce code redundancy and write clean, concise easy to follow code.  There are going to be many instances in which multiple CSS selectors will have the same declarations. In these cases, you can group all the selectors together and write the declarations only one time. For example, if you want to apply the exact same font size and color to three different headings you can write it as shown below. However, this is a waste of space.

 

Digital Marketing Forum is a do-follow forum, post and discuss IT topics here and get dofollow signature. Discuss about SEO, SMO, Directory Submission, 301 redirection, robots, social bookmarking, Web design and development.