Best Website Builders CompanyBest Website Builders Company
    What's Hot

    Wrexham: Ryan Reynolds and Rob McElhenney take photos on bus

    May 2, 2023

    Jimmy Fallon and Stephen Colbert shows affected by US TV writers’ strike

    May 2, 2023

    Barcelona 1-0 Osasuna: Substitute Jordi Alba hits late winner

    May 2, 2023
    Facebook Twitter Instagram
    Facebook Twitter Instagram
    Best Website Builders CompanyBest Website Builders Company
    • Home
    • CSS

      CMSAF Hosts Senior Noncommissioned Officer Summit: Building the Culture You Need

      May 2, 2023

      Introduction to Gutenberg editor development in WordPress

      May 2, 2023

      Get A $40 Microsoft Office 2021 Lifetime License Before This Deal Ends

      May 2, 2023

      Jurgena Kamberaj – Security Research Center

      May 2, 2023

      These things got me through college

      May 1, 2023
    • Joomla

      For $50 you can host your website for life

      May 2, 2023

      California Department of Justice Investigating Shooting Involving CHP Officer in Glenn County Under AB 1506

      May 1, 2023

      Mariposa County Daily Sheriff and Reservation Report for Sunday, April 30, 2023

      May 1, 2023

      Top 10 Best Web Development Companies In India In 2023

      May 1, 2023

      Web Designer Job Description: Shaping the Digital Landscape

      April 30, 2023
    • PHP

      Anthony Carrigan Reflects on That ‘Barry’ Scene from Season 4 Episode 4

      May 1, 2023

      TikToker Kat Abu is very happy that Tucker Carlson has been fired

      April 28, 2023

      How ‘Single Drunk Female’ Season 2 Tackled Emotional Sobriety

      April 24, 2023

      Trans-Missouri Residents Affected by Attorney General Order

      April 24, 2023

      Andrew Tate’s conversion to Islam makes Muslims skeptical

      April 21, 2023
    • UX

      Improving User Experience with the Ability to See Who Liked Your Story, Add Captions, and Post Comments / Digital Information World

      May 2, 2023

      JUCE – The ultimate charging solution with cutting-edge technology to improve user experience and provide new marketing opportunities

      May 2, 2023

      JUCE – The ultimate charging solution with cutting-edge technology to improve user experience and provide new marketing opportunities

      May 2, 2023

      MiChart Platform Upgrade Scheduled for Sunday, July 9 – Michigan Medical Headlines

      May 2, 2023

      Hyundai Palisade Wins 2023 Wards 10 Best Interiors and UX

      May 2, 2023
    • Web Builders
      1. Web Design
      2. View All

      What Comes First in Website Development — Design or Copy?

      February 2, 2023

      Modern Campus Honors Best Higher Education Websites of 2022

      February 2, 2023

      Premier SEO Consultant in Las Vegas, Nevada with Unparalleled Customer Service

      February 2, 2023

      Can Religious Freedom Be Saved? This group is racing the clock to teach America’s first freedom

      February 2, 2023

      Creating and Adding a Google Account: A Step-by-Step Guide

      May 2, 2023

      How i Create New Google Account

      February 7, 2023

      CWT powers tools for meeting and event planners

      January 31, 2023

      Best Website Builder – Website Builders

      January 24, 2023
    • WordPress

      Mobile phone sales plummeted again, despite signs of recovery

      May 2, 2023

      BenQ’s new 4K projector brings impressive brightness and excellent HDR

      May 2, 2023

      Nate’s robot vacuum picks up dust — here’s what shutting down means

      May 2, 2023

      Apple debuts new Rapid Security Response tool

      May 2, 2023

      Stranger Things’ David Harbor shifts gears in a speedy first trailer for the Gran Turismo movie

      May 2, 2023
    • Realtoz
      • Our Other Sites
    • More News
    Best Website Builders CompanyBest Website Builders Company
    Home » Why Developers Can’t Go Back After Using Tailwind CSS
    CSS

    Why Developers Can’t Go Back After Using Tailwind CSS

    websitebuildersnowBy websitebuildersnowMarch 21, 2023No Comments4 Mins Read
    Facebook Twitter LinkedIn Telegram Pinterest Tumblr Reddit WhatsApp Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Developers are the quickest to jump on the hype that promises minimal improvements. “Tailwind” is the latest target of this trend. This CSS framework is highly controversial in the front-end programming community and is considered by many to be the best thing since sliced ​​bread.

    Of course, its critics dismiss it as one of the flashy new frameworks. As with anything, the truth lies somewhere in between. But one thing is certain—Once developers start using Tailwind, no turning back.

    What’s special?

    Tailwind has been in development since November 2017, but it hit the scene in earnest in early 2022. Adam Wathan, the creator of the framework, details his dislike of semantic CSS. This led him to throw semantic CSS out the window and focus on utility to build his Tailwind that takes a CSS approach.

    Semantic CSS refers to the process of giving meaningful names to various HTML elements. For example, instead of naming your checkout button something like “Red Box Below”, you could name it “Checkout”. However, when following this approach, developers are typically asked to name content semantically in HTML while using these class names as hooks in CSS.

    This approach is commonly used to allow developers to exchange stylesheets when they want to change the visual styling of a website without breaking compatibility. As detailed in his blog, Wathan’s approach was to mix and optimize reusable CSS with HTML. This is a common departure from the separation of concerns that semantic CSS follows. This is his one of the main topics about Tailwind.


    Download mobile app


    Tailwind primarily applies CSS by creating small, simple classes that can be applied directly to HTML elements, reducing the amount of CSS code you need to write.

    But just as these features make life easier for some developers, they don’t help another group. In general, Tailwind’s small, class-centric approach results in hard-to-read HTML files and long lines of code. Also, the “restrictive” nature of Tailwind is brought up as a general drawback, as it only allows a small subset of CSS styles. With so many issues, developers are starting to question. Is Tailwind overrated?

    Beyond the hype

    Besides many tech bros claiming that using Tailwind reduces load times by milliseconds, there are a number of other reasons to use Tailwind. The learning curve may be unacceptable for veterans of semantic coding styles, but the benefits are numerous. Even the creator of Tailwind can’t stand changing his coding style, stating:

    “The truth is, you’ll never believe me until you actually try it. If you can resist the urge to vomit long enough to give it a chance, how else would you do CSS?” I’m sure you’ll wonder why I was dealing with it.”

    In fact, Tailwind’s website has a lot of positive reviews about the benefits coders have gotten from using the framework. Many developers have acknowledged the fact that semantic CSS was a mistake. Another commonality is that the developer cannot go back to “normal” CSS after using his Tailwind.

    The framework comes with many useful features such as powerful defaults that can be customized according to user preferences, support for responsive websites, automatic cleanup of unused CSS classes, and more. These features are like automated “best practices” to ensure your team projects run smoothly. After relying on these features, it becomes difficult for developers to do manually after switching from Tailwind.

    Tailwind’s limited nature is also a godsend for new developers who only need to refer to a single source of documentation rather than trawling the web to find CSS style documentation. Tailwind prefers convention over configurationThis may be blasphemy for developers who like the infinite composability of CSS, but it’s surprising for both new developers and large teams who don’t want to deal with issues related to semantic CSS. is.

    Tailwind is also built from the ground up to completely reject semantic CSS. This means developers should break hard-coded habits and avoid using semantic CSS. Using semantics can cause many problems with Tailwind. As noted by user “frontendben” on the Tailwind subreddit,

    “The point of utility CSS is to be able to know what a class is doing without having to open the CSS file, without context. CSS is a declarative language. Yes , can be used to define styles in a mandatory way, but that’s often where the biggest headaches of maintaining CSS come from.”

    Tailwind’s battle against semantic CSS and block element modifiers (BEM) approaches is sure to be a long and difficult one. Semantics is one of the hardest problems to solve in programming, but Tailwind may have found the solution by simply skipping over the problem.



    Source link

    Share this:

    • Tweet
    • Email
    • Pocket
    • Mastodon
    • WhatsApp
    • Telegram
    • Share on Tumblr
    • Print
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    Previous ArticleXbox VR: Everything You Need to Know
    Next Article Google Workers Tell CEO Sundar Pichai “Don’t Be Evil” With Layoffs.
    websitebuildersnow
    • Website

    Related Posts

    CMSAF Hosts Senior Noncommissioned Officer Summit: Building the Culture You Need

    May 2, 2023

    Introduction to Gutenberg editor development in WordPress

    May 2, 2023

    Get A $40 Microsoft Office 2021 Lifetime License Before This Deal Ends

    May 2, 2023
    Add A Comment

    Leave a Reply Cancel reply

    Top Posts

    Subscribe to Updates

    Get the latest sports news from SportsSite about soccer, football and tennis.

    Advertisement
    Demo

    This website provides information about CSS and other things. Keep Supporting Us With the Latest News and we Will Provide the Best Of Our To Makes You Updated All Around The World News. Keep Sporting US.

    Facebook Twitter Instagram Pinterest YouTube
    Top Insights

    Wrexham: Ryan Reynolds and Rob McElhenney take photos on bus

    May 2, 2023

    Jimmy Fallon and Stephen Colbert shows affected by US TV writers’ strike

    May 2, 2023

    Barcelona 1-0 Osasuna: Substitute Jordi Alba hits late winner

    May 2, 2023
    Get Informed

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    © 2023 bestwebsite-builders. Designed by bestwebsite-builders.
    • Home
    • About us
    • Contact us
    • DMCA
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.

    x