Results 1 to 11 of 11
  1. #1

  2. #2
    Senior Member
    Join Date
    Aug 2015
    Location
    New York
    Posts
    107
    Hello Friends,

    A combinator is something that explains the relationship between the selectors. A CSS selector can contain more than one simple selector.

  3. #3
    Senior Member
    Join Date
    Aug 2017
    Location
    India
    Posts
    128
    Grouping makes it possible to apply the same style to multiple HTML elements (Classes/Tag/ID) within a single declaration. It happens by specifying all the selectors separated by commas.

  4. #4
    Registered User
    Join Date
    Jun 2016
    Posts
    62
    Collection in CSS is a strategy used to reduce rule redundancy and write clean, brief easy to understand rule. There are going to be many circumstances in which several CSS selectors will have the same conditions.

  5. #5
    Senior Member
    Join Date
    Apr 2017
    Location
    india
    Posts
    140
    By combining the grouping of selectors that share the same declaration and declarations that share the same selector you can apply multiple declarations to multiple selectors. This technique allows you to create compact yet powerful CSS rules.

  6. #6
    Registered User
    Join Date
    Sep 2017
    Posts
    1,192
    Grouping allows you to apply the same style to multiple elements(classes/tag/id) with a single declaration.

  7. #7
    Registered User
    Join Date
    Mar 2019
    Location
    Ahmedabad
    Posts
    180
    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.

  8. #8
    Senior Member
    Join Date
    Aug 2020
    Posts
    1,517
    The CSS grouping selector is used to select multiple elements and style them together. This reduces the code and extra effort to declare common styles for each element. To group selectors, each selector is separated by a space.

  9. #9
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,853
    The CSS Grouping Selector
    The grouping selector selects all the HTML elements with the same style definitions. Look at the following CSS code (the h1, h2, and p elements have the same style definitions)

  10. #10
    Registered User
    Join Date
    Aug 2018
    Posts
    1,141
    Grouping allows you to apply the same style to multiple elements(classes/tag/id) with a single declaration. This is done by listing all the selectors, separated by commas.

    Example:

    #maincontent p, ul { border-top: 1px solid #ddd; }


    Oryon Networks | Singapore Web Hosting | Best web hosting provider | Best web hosting in SG | Oryon SG

  11. #11
    Senior Member
    Join Date
    Aug 2020
    Posts
    1,517
    The CSS grouping selector is used to select multiple elements and style them together. This reduces the code and extra effort to declare common styles for each element. To group selectors, each selector is separated by a space.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.