A05600ED-8FA2-42DA-B7E2-87A91F80AB88_1_1
  • HOME

  • STACK

  • PORTFOLIO

  • MY JOURNEY

  • BIOGRAPHY

  • CONTACT

  • More

    Use tab to navigate through the menu items.
    • All Posts
    • Code
    • Enterprise
    • Consumer
    • Life
    • Music
    • Reading
    Search

    Using Structural Selectors to avoid Class-itus in HTML5 and CSS3

    I’ve been spending some time cleaning up my HTML and CSS in the Flojuggler iOS app. Trying to stay within semantic standards is becoming my latest obsession. I call it an obsession because, like all rules, there’s a time and a place for everything. While it would be great if everything could be super clean all the time, sometimes breaking the rules gets the project to where it needs to be. That said, this example is within the rules. 😉 Here’s a snippet that includes a simple
    SFAF.org

    SFAF.org

    Established in 1982, our mission is the radical reduction of new infections in San Francisco because we refuse to accept HIV as inevitable. The San Francsco AIDS Foundation came to me with a handful of Photoshop files from a designer and instructions to “make it work in any content publishing system”. No problem! We created a custom JS navigation system that had a single dependency, JQuery. The CSS was also custom which allowed us to escape the “everything looks like bootstra

    © 2020