• Pasta Dental
    link
    fedilink
    131 year ago

    ok i know nobody cares but thats not how the blur filter would look like and it triggers me

    • TechCodexOP
      link
      fedilink
      English
      15
      edit-2
      1 year ago

      In HTML:

      div class=“hands”>

      In CSS:

      .hands

      A dot in CSS means you’re referring to an HTML Class. Note that this is different from the OOP Class in scripting languages. Think of HTML classes as classrooms. You can have multiple divs with the same class name, each will be affected when you style that class name. Just like students follow the same rule when applied to a classroom.

      In some specific instances, ID is used instead of class. # is used in CSS instead of a dot. The only difference is that in ID, each element should have a unique ID.

      div id=“right-arm”

      CSS: #right-arm

      • @nero
        link
        English
        61 year ago

        To add onto this, you can also have:

        <div> </div>

        And style it with:

        div { background-color: red; }

        just using the html tags without a . or #

    • @[email protected]
      link
      fedilink
      English
      101 year ago

      The language is CSS, the dot signifies that it’s the name of a class. So any HTML elements with the same class name will have those CSS styles applied to them