Tech Junkie Blog - Real World Tutorials, Happy Coding!: CSS Grouping Selectors

Monday, December 13, 2021

CSS Grouping Selectors

In CSS you can group your selects into one declarations. For example you want to create a read alert text for your h2 HTML element tag.

You can define each property one at a time like so

        h2{font: bold 25px arial, verdana;}
        h2{color: red;}

When you type in <h2>Alert</h2> you will get this effect

You can achieve the same effect by grouping the selectors into one declaration like the following.

        h2 {
            font: bold 25px arial, verdana;
            color: red;
            background: black;

Or group the headings tags with the following

        h1,h2,h2,h3,h4,h5,h6 {
            font: bold 25px arial, verdana;
            color: red;
            background: black;

As you can see it is much cleaner and easier to read.


  1. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.

    data science training in vizag


    1. error404-store

      - -- Spamming tools --

      1-- cpanel https ssl secure
      2-- shell ssl secure
      3-- web-mail
      4-- smtp
      5-- rdp with send bluster
      6-- scam pages
      7-- ceo or cfo leads

      -- Spy virus slinet Exploits --

      1-- privet rat
      2-- crypter exploits
      3-- privet rdp hosting
      4-- os andriod spy virus
      5-- iso iPhone spy virus
      6-- Nokia spy virus

      - -- scanners brute-force ---

      1-- linux roots
      2-- cpanel scanner
      3-- cpanel bruter
      4-- shell scanner
      5-- smtp scanner
      6-- smtp bruter
      7-- zimbra scanners

      - -------------------

      cpanel,shell,smtp,scampages,sender,ceo or cfo leads,rdp,spyvirus,crypter,exploits,scanners

      Telegram:- @Donsmith000

      icq :- @Donsmith000

  2. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    ethical hacking course training in Guwahati

    1. Telegram: @Cpanelmaster
      ICQ: @Cpanelmaster

      credit card detail
      ssn dl dob data
      bank logs for sure cashout

      sell spamming tools like scam page-smtp-cpanel-aws - sms getaway
      we been in business from last 10 years have experience on working multiple task can create any kind of custom pages, have mass email or sms marketing toolz, can reach your customer in right direction,
      you can always reach on telegram @cpanemaster
      most of the tools you can visit our site like
      to find out how the spamming tools work for like scam page smtp rdp, cpanel that long last for up to one week
      also fin good inbox mass mailing smtp, that can send up to 10k at once, and don't die ,,
      we have zimbra email server , as email server with 50k email limit, also you can can buy rdp that allow mass mailing , using sandblaster tools you can enable local host email mass sending,,
      we sell bullet prof cpanel host where you can host your scam page and can b last for upto one week, we have 100% offshore vps server that enable our cpanel to stay online up to open week
      we have sms getaway that can send bulk sms all over the world, with custom sender id, you can spamming using sms
      we have unique way to verify phone number , you can generate million of phone number data and can use custom software to validate your phone number data before you go for sms spamming
      Linux vps allow you mass canning or run any brut force python scanner , like smtp scanner,
      Telegram: @Cpanelmaster,
      ICQ: @ Cpanelmaster


Search This Blog