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

<style>
        h2{font: bold 25px arial, verdana;}
        h2{color: red;}
        h2{background:black;}
</style>


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.

    <style>
        h2 {
            font: bold 25px arial, verdana;
            color: red;
            background: black;
        }
    </style>

Or group the headings tags with the following

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

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


4 comments:

  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

    ReplyDelete
    Replies





    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


      https://error404-store.blogspot.com



      Delete
  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

    ReplyDelete
    Replies
    1. Telegram: @Cpanelmaster
      ICQ: @Cpanelmaster
      https://toolz.store

      https://t.me/cpanelmaster
      https://icq.im/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 https:toolz.store
      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,


      https://toolz.store/10-cpanel
      https://toolz.store/11-scam-page
      https://toolz.store/12-windows-rdp
      https://toolz.store/13-email-leads
      https://toolz.store/14-smtp
      https://toolz.store/15-linux-vps
      https://toolz.store/16-sms-getway
      https://toolz.store/17-tutorial



      https://toolz.store
      Telegram: @Cpanelmaster,
      ICQ: @ Cpanelmaster

      Delete

Search This Blog