Best of CSS โ€” February 2025

  1. 1
    Article
    Avatar of PrismicPrismicยท1y

    40 CSS Background Effects to Enhance Your Website

    Explore 40 CSS background effects to enhance your website's design. From gradient-based designs to dynamic, motion-driven animations, learn how various effects can add depth and interactivity to your site. The post includes examples of scrolling effects, SVG animations, background patterns, and more. Additionally, discover useful tools and generators to help simplify the creation of stunning backgrounds.

  2. 2
    Video
    Avatar of developedbyeddevelopedbyedยท1y

    The Power of SVG Animations

    Learn how to enhance your SVG animation skills by creating a dynamic sun-to-moon toggle with glowing effects using a single SVG. The guide covers integrating this effect from scratch using React and Figma, optimizing SVG path attributes, and adding staggered animations with motion.react. The tutorial provides step-by-step instructions and code snippets to make the task approachable and fun.

  3. 3
    Video
    Avatar of javascriptmasteryJavaScript Masteryยท1y

    Tailwind CSS v4 Full Course 2025 | Master Tailwind in One Hour

    Master Tailwind CSS with this comprehensive course that teaches utility-first styling, responsive layouts, dark mode, and custom themes. Learn how to structure projects correctly, understand best practices, and optimize your workflow. Gain access to quizzes, interactive exercises, and in-depth lessons on the JS Mastery Pro platform, where you will build a complete, professional landing page.

  4. 4
    Article
    Avatar of frontend_developerFrontend developerยท1y

    ๐Ÿš€ Just Launched My Portfolio! ๐ŸŽ‰

    Created a new portfolio using React, CSS, EmailJS, and Swiper. It's functional, fully responsive, and a great way to practice CSS skills. Check out the portfolio, view the tutorial that inspired it, and consider dropping a star on GitHub.

  5. 5
    Article
    Avatar of opensourcefrontendOpen Source Front Endยท1y

    I Finally built a Grid Playground with Awesome Animations

    Flexbox Labs now includes Grids, allowing users to explore and manipulate CSS grid properties, control grid item placement, and visualize grid lines. This beta version retains all the original Flexbox Labs features and seeks user feedback for improvements. Future updates will add features like grid line numbers, CSS box shadows, gradients, border-radius, and transforms.

  6. 6
    Article
    Avatar of PrismicPrismicยท1y

    50 Creative CSS Image Effects for Engaging Websites

    Enhance your website's visual appeal with 50 creative CSS image effects. These effects add depth, motion, and interactivity to images, making your site more engaging. Additionally, learn how to optimize images for better performance and explore various tools and libraries to apply image filters and hover effects efficiently.

  7. 7
    Article
    Avatar of webtoolsweeklyWeb Tools Weeklyยท1y

    CSS Tools, AI Tools, Uncats

    WorkOS offers a modern identity platform for B2B SaaS with easy integration and free user management up to 1 million MAUs. Chris Kiehl shares his changed opinions on software development after 10 years. Discover various tools for CSS & HTML, including dual-range inputs, scroll-driven animations, and easing function editors. Explore AI tools like aiCoder for JavaScript and frameworks for deploying autonomous AI agents. Uncategorizable tools include services to transform screenshots into functional code and alternatives to traditional CAPTCHA systems.

  8. 8
    Article
    Avatar of rubylaRUBYLANDยท1y

    Hide Scrollbars While Keeping Scrolling Intact

    Learn how to hide scrollbars while keeping scrolling intact using various CSS techniques, including TailwindCSS. This can enhance the user experience in sleek and minimalistic web designs by decluttering the UI. Ensure accessibility by maintaining functional scrolling through trackpads, touch gestures, or keyboard navigation.

  9. 9
    Article
    Avatar of cssarticlesCSS Articlesยท1y

    How to Create Wavy Boxes Using CSS

    Learn how to create wavy boxes using CSS gradients and masks. The tutorial covers two types of wavy shapes with detailed code examples and explanations. Techniques include using variables for easy adjustments and ensuring the shapes adapt to specific element content. Variations for implementing rounded corners are also discussed.

  10. 10
    Video
    Avatar of developedbyeddevelopedbyedยท1y

    CSS Animations have a bright future

    Upcoming scroll-driven animations in CSS are poised to revolutionize web development by offloading animation work from the main thread, leading to smoother user experiences. This advancement will eliminate the need for JavaScript in scroll animations, reducing lag and jankiness. However, browser support remains a challenge. The post demonstrates various CSS techniques for creating smooth animations, including progress bars and image carousels, without relying on JavaScript.

  11. 11
    Article
    Avatar of hnHacker Newsยท1y

    This page is under construction

    Encourages creating personal websites to reflect individuality and creativity, promoting the value of owning your content. Critiques the current web development trends towards business and uniformity, and the predominance of social media and AI-generated content. Nostalgic for the early days of the web, it urges a return to simpler, more personal website creation.

  12. 12
    Article
    Avatar of joshwcomeauJosh W Comeauยท1y

    A Million Little Secrets โ€ข Josh W. Comeau

    Josh W. Comeau shares insights into the intricate details and development process behind the landing page for his upcoming interactive online course 'Whimsical Animations'. The post covers animation techniques using web technologies like CSS, JavaScript, and SVGs, and discusses the use of sprites for performance optimization, the application of polar coordinates for particle effects, and adding sound effects for an enhanced user experience.

  13. 13
    Video
    Avatar of wdsWeb Dev Simplifiedยท1y

    This CSS Property Replaces Hundreds of Lines of Code

    Creating an input field that dynamically grows in size based on the content typically requires extensive JavaScript and complex calculations. The new CSS field sizing property simplifies this process, allowing inputs to resize based on their content with just a single line of CSS. This property supports different types of inputs, including text inputs, select boxes, and text areas, providing an effective progressive enhancement for forms. However, it's currently only supported in Chromium-based browsers.

  14. 14
    Article
    Avatar of bramBram.usยท1y

    Solved by StyleObserver: Element.matchContainer()

    Martin Winkler published a package that polyfills Element.matchContainer() to notify scripts when a Container Query matches or unmatches, using StyleObserver under the hood. The polyfill allows attaching events to container queries similar to how Window.matchMedia() handles media queries. Demos showcase its use for size and style queries. The package injects necessary CSSOM rules to observe changes and leverages custom properties for functionality.

  15. 15
    Article
    Avatar of tigerabrodiTiger's Placeยท1y

    Tailwind v4 features I'm excited about

    Tailwind CSS v4 brings significant updates including CSS-first configuration, dynamic utility values, built-in container queries, 3D transform utilities, enhanced gradient controls, 'not' variant for styling exceptions, layered box shadows and rings, auto-resizing fields, variable font stretch options, and new first/last/nth utilities. These features offer more flexibility, ease of use, and powerful styling capabilities for web developers.

  16. 16
    Article
    Avatar of bramBram.usยท1y

    CSS Custom Functions are coming โ€ฆ and they are going to be a game changer!

    Chrome is currently prototyping CSS Functions, a new feature that allows for parameterized custom properties. This feature, available for testing in Chrome Canary with the Experimental Web Platform Features flag, has the potential to significantly enhance CSS capabilities by enabling more flexible and conditional styling. One example is the creation of a custom light-dark function to handle different values based on the user's color scheme preference. The exact release date is not yet set.

  17. 17
    Video
    Avatar of developedbyeddevelopedbyedยท1y

    Make our shadcn components GLOW!

    Learn to create glowing cards with gradient effects using the Shadcn library and Tailwind CSS. This tutorial demonstrates how to integrate the glow effect into your components seamlessly without duplicating elements, ensuring support for both light and dark modes. The step-by-step guide covers setting up and customizing the glow effect around various elements, making it flexible and reusable.

  18. 18
    Video
    Avatar of developedbyeddevelopedbyedยท1y

    Tailwind v4 is an exciting update

    Tailwind v4 brings a new engine, improved performance, and several new features. Notably, builds are significantly faster, and dynamic values for padding, height, and width are now supported. Setting up with Vite is streamlined, eliminating the need for a separate PostCSS configuration file. Additionally, V4 introduces support for container queries and modernizes the color palette, among other enhancements.

  19. 19
    Article
    Avatar of allthingsfrontendAll Things Frontendยท1y

    I Finally built a Grid Playground with Awesome Animations

    Grids are now available in Flexbox Labs, featuring properties exploration for grid containers and items, item placement control, and grid line manipulation. The beta release invites feedback and contributions to improve the tool, with future updates including grid line numbers, CSS box shadows, gradients, border-radius, and transforms.

  20. 20
    Video
    Avatar of wdsWeb Dev Simplifiedยท1y

    The New selectedcontent HTML Element Changes Selects Forever

    A new browser specification allows custom select boxes to be built using only HTML and CSS. This powerful and flexible feature uses a new selected content HTML element and base select styling to replace default browser styles. The feature, currently in stage two, can be tried in Chrome Canary. It ensures graceful fallback to default select boxes in unsupported browsers.

  21. 21
    Video
    Avatar of lundeveloperLun Dev Codeยท1y

    You liked Facebook Page Without Knowing | Javascript

    Learn about a trick used by programmers to manipulate the Facebook like button through JavaScript and CSS. By embedding the like button into a website and using fixed position properties and mouse event handling, the like button can be made to follow the user's cursor, ensuring they click on it unknowingly. Additional conditions and transparency can further enhance this method without disturbing the user experience.

  22. 22
    Article
    Avatar of csstipCSS Tipยท1y

    Trim extra space using text-box

    Learn about the new `text-box` property that allows you to easily remove extra space above and below your text in CSS. Currently, it is supported only by Chrome.

  23. 23
    Article
    Avatar of tigerabrodiTiger's Placeยท1y

    The problem with HSL colors

    HSL colors, while standard, have issues with perceptual uniformity, making transitions and color appearances uneven to the human eye. OKLCH is a newer color space that resolves these issues by aligning more closely with human color perception, resulting in smoother transitions and more natural color relationships.

  24. 24
    Article
    Avatar of csstipCSS Tipยท1y

    Perfectly center an uppercase text

    Learn how to eliminate unwanted spaces above and below uppercase text using a simple line of CSS code, currently compatible only with Chrome.

  25. 25
    Article
    Avatar of itnextITNEXTยท1y

    A New CSS Era, A Goodbye to console.log(), and Expo Brings Hosting to the Masses

    React Native 0.77 introduces significant styling improvements, including support for `display: contents`, new box-sizing options, mixBlendMode, and outline properties. Android 15 enhancements improve memory efficiency, while Expo's EAS Hosting simplifies full-stack deployments. The removal of console.log() forwarding in Metro enhances developer logging with Chrome DevTools. Reanimated 4 brings CSS-like animations to React Native, and Static Hermes promises faster execution by pre-compiling JavaScript into native code.