Best of CSSMarch 2025

  1. 1
    Article
    Avatar of ishadeedAhmad Shadeed·1y

    CSS Relative Colors

    CSS relative colors enable dynamic color generation directly in CSS without the need for pre-processors like Sass. This post explores how to apply opacity, create lighter or darker variations of a color, and use different color spaces (hsl and oklch) with practical examples. The article includes detailed explanations, code snippets, and interactive demos to help readers understand and implement this powerful feature in their projects.

  2. 2
    Article
    Avatar of tailwindcsstailwindcss·1y

    Tailwind UI is now Tailwind Plus

    Tailwind UI has been rebranded as Tailwind Plus, maintaining its one-time purchase model and lifetime access. Existing Tailwind UI All-Access license holders are automatically upgraded to Tailwind Plus. The new brand aims to provide enhanced features such as Tailwind Play accounts, custom editor themes, alternative color palettes, and more. Tailwind Plus also focuses on building a stronger community and offering early access to beta documentation and events.

  3. 3
    Article
    Avatar of logrocketLogRocket·1y

    How to use CSS variables like a pro

    CSS variables, also known as custom properties, allow developers to reuse values throughout a stylesheet, helping to write clean and efficient code. This tutorial provides a detailed guide on using CSS variables with practical examples, including dynamic changes with JavaScript, responsive design adjustments, and theme toggling. Learn how to define CSS variables globally or locally, apply fallback values, and harness cascading rules and specificities for styling flexibility.

  4. 4
    Article
    Avatar of PrismicPrismic·1y

    50 Interactive CSS Scroll Effects To Try

    Explore 50 engaging CSS scroll effects to enhance interactivity on your website. The list includes various animations like parallax, sticky, fade, and more, providing multiple ways to captivate users. Additionally, the post details tools and libraries such as AOS, GSAP plugins, and TAOS for further extending your scroll animation capabilities.

  5. 5
    Article
    Avatar of csstipCSS Tip·1y

    An infinite logos animation

    Learn to create a true infinite logos animation using minimal HTML and the CSS offset property. The technique ensures the animation is responsive.

  6. 6
    Article
    Avatar of fullstackdeveloperFullstack Developer·1y

    How To Become a better frontend developer.

    Explore various projects with no specific rules to follow. Use any languages, libraries, or frameworks to recreate and learn from these projects to enhance your frontend development skills.

  7. 7
    Article
    Avatar of webtoolsweeklyWeb Tools Weekly·1y

    CSS Tools, Git/CLI, AI Tools

    Explore a range of cutting-edge tools in this comprehensive post. Discover CSS and HTML tools for design and art creation, including CASCII, Scales, and Brands Tail Color. Enhance your Git and command line experience with tools like Lefthook and RelaGit. Dive into AI innovations with GPT Crawler and Tabby, and leverage powerful new platforms like Proton Pass for improved online privacy and security. Each tool is designed to boost productivity and creativity across various development and design projects.

  8. 8
    Article
    Avatar of chromeChrome Developers·1y

    Chrome for Developers

    Chrome 135 introduces new features from the CSS Overflow 5 specification that enable the creation of scroll and carousel experiences without using JavaScript. These new CSS features include scroll buttons, scroll markers, and enhanced accessibility. The new CSS properties make it easy to create carousels, ensure proper element roles, and maintain accessibility standards. Resources and examples are provided to help developers utilize these features effectively.

  9. 9
    Article
    Avatar of css_tricksCSS-Tricks·1y

    Web Components Demystified

    Explore the fundamentals of web components with Scott Jehl's course, 'Web Components Demystified'. Learn about the creation and behavior of custom HTML elements, usage of HTML templates, encapsulation with Shadow DOM, and lifecycle methods for web components. The content highlights the differences between web components and JavaScript framework components like React. Also discussed are best practices for styling, handling slots, and using custom properties within Shadow DOM.

  10. 10
    Article
    Avatar of habrhabr·1y

    How to Add Any CSS Framework to Your Project. Part 1

    Learn how to integrate any CSS framework into your Angular project. This guide uses Bootstrap as an example, explaining the benefits of using source code styles like SASS for greater customization and flexibility. Follow the step-by-step instructions to create an organized setup that separates third-party and custom styles, making your project easier to maintain and optimize.

  11. 11
    Article
    Avatar of communityCommunity Picks·1y

    NativeWind

    NativeWind allows developers to use Tailwind CSS for styling React Native components, ensuring a consistent and high-performance experience across platforms. It compiles Tailwind CSS styles during the build step and applies them efficiently at runtime. Key features include universal styling engines, developer UX enhancements, CSS variables, robust animations, transitions, support for Tailwind groups and parent state, responsive styles with media and container queries, pseudo classes, rem unit support, dot notation, and custom CSS compilation.

  12. 12
    Article
    Avatar of colkgirlCode Like A Girl·1y

    DaisyUI: The Tailwind CSS Shortcut You’ll Either Love or Regret

    DaisyUI offers a wide variety of pre-styled components and comprehensive theme support, making it a powerful tool for accelerating UI development with Tailwind CSS. It's highly customizable, allowing users to tweak themes and styles. However, DaisyUI lacks built-in typography support and doesn't work with dynamic class names, restricting its use to Tailwind-based projects. It's ideal for users who want ready-to-use components and easy theming but may not be suitable for those relying on dynamic class names or working outside Tailwind environments.

  13. 13
    Video
    Avatar of developedbyeddevelopedbyed·1y

    New React Animation API Is Insane

    Next.js 14.2 introduces page transitions in server components using the new view transitions API. This allows smooth fade and crossfade animations on page navigation and element state changes. The API supports official React packages and enables easy customization through CSS or JavaScript. It simplifies animation between states, including deletion and position transitions, enhancing the user experience with minimal code effort.

  14. 14
    Article
    Avatar of css_tricksCSS-Tricks·1y

    Functions in CSS?!

    CSS functions are being prototyped in Chrome Canary, providing new capabilities like arguments, default values, and returns. These functions allow reusable patterns with parameterized custom properties, making CSS more powerful and flexible. While still in early stages, functions can handle type-checking and lists, though early returns and some other functionalities are currently limited. The introduction of functions will significantly enhance the way CSS is written, although more improvements and broader support are needed.

  15. 15
    Article
    Avatar of hnHacker News·1y

    openui/open-ui: Maintain an open standard for UI and promote its adherence and adoption.

    Web browsers have historically provided form and UI controls essential for interactive websites. Over the years, the demand for more advanced controls has grown, especially with the rise of Web 2.0. HTML5 addressed some needs, but current web projects require even more sophisticated and customizable interfaces. The Open UI Community Group aims to modernize HTML, CSS, JS, and Web APIs to help developers create robust, accessible, and flexible UIs. They focus on researching common patterns, planning improvements, and recommending changes to relevant standards bodies.

  16. 16
    Article
    Avatar of fullstackdeveloperFullstack Developer·1y

    ✨ Customize Shadcn UI to Match Your Style ✨

    Learn how to customize Shadcn UI by choosing colors and adjusting themes. Generate and copy the necessary CSS to match your style.

  17. 17
    Article
    Avatar of csstipCSS Tip·1y

    Transparent inner border for images

    Learn how to use the CSS mask property along with two gradients to cut a border from the inside of an image, creating a transparent inner border effect. The post also includes a demo with a hover effect.

  18. 18
    Article
    Avatar of sitepointSitePoint·1y

    Making a Browser Based Game With Vanilla JS and CSS – SitePoint

    Learn how to build a flag guessing game using pure JavaScript and CSS. This guide walks through setting up the basic structure, creating a simple prototype, organizing the code with modules, and adding a scoring system. Additionally, it covers enhancing the game with CSS animations and final touches like a title screen and player ratings based on score.

  19. 19
    Video
    Avatar of wdsWeb Dev Simplified·1y

    20 NEW CSS Features You Need To Know In 2025

    Discover 20 game-changing CSS features that will elevate your web development skills. Learn about CSS layers, text wrap properties, nesting, container queries, relative colors, and more. These features offer new ways to manage specificity, improve text layout, and create responsive designs. Stay ahead with these modern CSS techniques and enhance your web projects.

  20. 20
    Article
    Avatar of logrocketLogRocket·1y

    CSS vertical alignment: Best practices and examples

    Vertical alignment in CSS has evolved significantly, providing various methods for centering elements such as Flexbox, Grid, and inline techniques. Each method offers different advantages and limitations, making it important to choose the appropriate approach for your specific layout needs. Modern solutions like Flexbox and Grid are recommended for their flexibility and responsiveness, while traditional methods still offer compatibility in certain scenarios.

  21. 21
    Article
    Avatar of cassidooCassidy's blog·1y

    Create an HTML dialog when you click an image

    Learn how to use the <dialog> HTML tag to create an interactive pop-up display for images on your web pages. This method allows users to click on smaller images and view them in a larger format without altering the existing layout of your blog or website.

  22. 22
    Article
    Avatar of frontend_developerFrontend developer·1y

    Free, open-source loaders for your project

    Discover free, open-source loaders and spinners for your projects, built using HTML, CSS, and SVG. These components are powered by web components for maximum compatibility.

  23. 23
    Video
    Avatar of wdsWeb Dev Simplified·1y

    This CSS Property Replaces Hundreds of Lines of Code

    Implementing dynamic input fields that resize based on their content used to require complex JavaScript, but now it can be achieved with a single line of CSS: 'field sizing content'. This feature works on selects, inputs, and text areas, enhancing user experience. However, it is not yet supported by all browsers, with Firefox currently lagging behind.

  24. 24
    Article
    Avatar of csstipCSS Tip·1y

    Custom progress element using attr()

    Learn to create a custom progress element using the new attr() function in CSS for dynamic coloration based on value. This solution doesn't require JavaScript and is implemented using a single CSS element.

  25. 25
    Article
    Avatar of alltailwindcssAll Tailwind CSS·1y

    Tailwind CSS Cheat Sheet(v4 and v3)

    A comprehensive cheat sheet for Tailwind CSS versions 3 and 4, providing a quick reference to all utility classes and their corresponding CSS properties.