Results 1 to 6 of 6

Thread: What Is Grouping In CSS3?

  1. #1
    Registered sulbha's Avatar
    Join Date
    Dec 2014
    Location
    Bangalore
    Posts
    275

    What Is Grouping In CSS3?

    What Is Grouping In CSS3?

  2. #2
    Registered
    Join Date
    Aug 2017
    Posts
    90
    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.

  3. #3
    Registered
    Join Date
    Aug 2017
    Posts
    37
    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.

  4. #4
    Registered RH-Calvin's Avatar
    Join Date
    Mar 2017
    Location
    Forum
    Posts
    359
    CSS grouping can be used to condense code that has multiple selectors with the same declarations. This makes code easy to read and maintain. Also development time is significantly reduced as there is less code to write. Page load times are reduced as well when using grouping. There is no reason not to use grouping whenever applicable.
    Cheap VPS Hosting | VPS Starting from $12 PER Year
    Cheap Dedicated Server | Unmetered Bandwidth | Free Setup and IPMI

  5. #5
    Registered
    Join Date
    Jun 2017
    Location
    www.nirajyanamandra.com
    Posts
    47
    Basically grouping is a concept that is mainly used to reduce the code redundancy. It also helps to apply same styles to different elements without repeating the CSS styles by providing the selectors with a comma between each selector.

  6. #6
    Registered
    Join Date
    Nov 2016
    Posts
    297
    Grouping in CSS is a method used to lessen code repetition and compose perfect, succinct simple to take after code.

    There will be many examples in which various CSS selectors will have similar statements. In these cases, you can assemble every one of the selectors together and compose the revelations just a single time.

    It is essential to take note of that diverse sorts of selectors can be gathered with each other.

    There are three principle sorts of CSS selectors, the component selector, id selector and class selector.

    The component selector utilizes component names with a specific end goal to choose the components. The id selector chooses components by taking a gander at the id trait of a HTML component. It is meant with the # character and alludes to a one of a kind component inside the page.

Similar Threads

  1. Explain some of the advantage of grouping several checkboxes together?
    By spobitsseo in forum HTML, CSS, Layout, and Design
    Replies: 1
    Last Post: 08-01-2017, 04:30 AM
  2. how to customize datagridview in c# with grouping of columns and rows?
    By hireaspdeveloper in forum Website Programming & Databases
    Replies: 0
    Last Post: 06-21-2012, 02:26 AM

Bookmarks

Posting Permissions

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