+ Post New Thread
Results 1 to 9 of 9

Thread: What Is Grouping In CSS3?

  1. #1
    Banned
    Join Date
    Aug 2015
    Location
    Bangalore
    Posts
    46

    What Is Grouping In CSS3?

    What Is Grouping In CSS3?

  2. #2
    Senior Member Barbara's Avatar
    Join Date
    May 2017
    Posts
    110


    Is this useful / helpfull? Yes | No
    Grouping in CSS is a technique used to reduce code redundancy and write clean, concise easy to follow the 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.

  3. #3


    Is this useful / helpfull? Yes | No
    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
    Senior Member Raju's Avatar
    Join Date
    Feb 2019
    Location
    Nagpur
    Posts
    162


    Is this useful / helpfull? Yes | No
    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

  5. #5


    Is this useful / helpfull? Yes | No
    In CSS group selector is mainly used to group to together multiple selectors in to one.

    You need to group together by separating each element with comma.

  6. #6
    Junior Member
    Join Date
    Jul 2020
    Location
    Ludhiana
    Posts
    27


    Is this useful / helpfull? Yes | No
    Grouping is used to call a group of HTML Elements by tagname, classname or id. Unlike Class selector, we don't need to create attribute first. We can group multiple tags, IDs and Classes. We have to use COMMA (,) to separate Selectors in grouping.

    <style>
    h5, h3, p{
    colorrange;
    text-align:right;
    }
    </style>
    <h5>This heading will be red.</h5>
    <h3>This heading will be red too.</h3>
    <p class="para>This para will be red too.</p>

  7. #7


    Is this useful / helpfull? Yes | No
    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.

    How do you use grouping in CSS : The grouping selector selects all the HTML elements with the same style definitions. It will be better to group the selectors, to minimize the code. To group selectors, separate each selector with a comma.

  8. #8
    Senior Member etechsuppor's Avatar
    Join Date
    Jun 2020
    Location
    India
    Posts
    126


    Is this useful / helpfull? Yes | No
    I used plugin for grouping CSS that help to compress the CSS
    Technical Support - eTechSupport.net ▌24x7 Server Management Blog ▌Live Support Skype : [email protected]

  9. #9
    Junior Member jhonalbert's Avatar
    Join Date
    Dec 2021
    Location
    Toronto, Canada
    Posts
    11


    Is this useful / helpfull? Yes | No
    Grouping in css3 is a technique used to reduce code redundancy and write clean, concise easy to follow code.

+ Post New Thread

Similar Threads

  1. HTML5 and CSS3 course ?
    By kingdevils in forum HTML, CSS Forum
    Replies: 18
    Last Post: 11-04-2022, 10:10 AM
  2. What Is Webkit In CSS3? And Why Is It Used?
    By sulbha in forum HTML, CSS Forum
    Replies: 2
    Last Post: 08-02-2021, 07:14 AM
  3. How Do You Make Border Rounded With CSS3?
    By sulbha in forum HTML, CSS Forum
    Replies: 1
    Last Post: 08-28-2017, 07:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam