Best of CSS — December 2023

  1. 1
    Article
    Avatar of builderiobuilder.io¡2y

    Modern CSS for 2024: Nesting, Layers, and Container Queries

    Explore the latest CSS features including native CSS nesting, layers, and container queries. Discover how these features can improve your CSS code and make responsive design easier.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp¡2y

    Create a Virtual World with JavaScript

    Learn how to create a virtual world using JavaScript, HTML, and CSS. The course covers building a spatial graph, user-friendly interfaces, generating road borders and buildings, loading real-world data, and more.

  3. 3
    Article
    Avatar of hnHacker News¡2y

    You don't need JavaScript for that

    The article discusses the rule of least power in web development, which advocates for choosing the least powerful language suitable for a given purpose. It highlights examples of using native HTML and CSS instead of JavaScript, such as creating custom switches, using the datalist element for autosuggest, utilizing the native color picker, implementing accordions, and using dialog modals. The article also mentions future features that will further reduce the need for JavaScript.

  4. 4
    Article
    Avatar of asayerasayer¡2y

    The Art of Scrollbar Styling with CSS

    Customizing scrollbars with CSS allows for uniformity and coherence across a website, improves usability, and provides visual feedback for users. Basic CSS properties related to scrollbars include scrollbar-width, scrollbar-track-color, and scrollbar-thumb-color. CSS animations can be applied to scrollbars using pseudo-elements.

  5. 5
    Article
    Avatar of asayerasayer¡2y

    10 CSS Techniques for Hiding Elements

    This article explores ten different methods for hiding content using CSS, including using the display property, visibility property, and opacity property. The techniques discussed can improve the user experience and create more dynamic and interactive web pages.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp¡2y

    How to Manipulate the DOM in JavaScript – Most Commonly Used Techniques

    Learn about common techniques for manipulating the DOM in JavaScript, such as changing the content of an element, manipulating the class attribute, and setting CSS styles.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp¡2y

    🐍 đŸ•šī¸ đŸ’ģ

    Learn JavaScript skills by building a snake game inspired by the iconic Nokia Snake game. Improve your web development capabilities with a step-by-step course. Enhance the snake's size, control its movement, and track the score. Try the game before watching the course and find it on the freeCodeCamp.org YouTube channel.

  8. 8
    Article
    Avatar of devtoDEV¡2y

    Tailwind CSS - Beginner's Guide: Where to Start?

    Explore the essentials of Tailwind CSS and learn where to start. Understand its utility-first approach, explore the documentation, and discover the pros and cons. Build your first project with Tailwind CSS and embrace its simplicity and flexibility.

  9. 9
    Article
    Avatar of communityCommunity Picks¡2y

    CSS Wrapped: 2023!

    2023 was a groundbreaking year for CSS with updates to the core language, new color spaces and functions, and advancements in responsive design.

  10. 10
    Article
    Avatar of logrocketLogRocket¡2y

    Implementing scroll-aware UI state with CSS

    Scroll-aware UI state can improve website user experience by dynamically responding to the user's scrolling action on a webpage. This article explores how scroll-aware UI can be implemented using CSS-only solutions and discusses the limitations of such approaches.

  11. 11
    Article
    Avatar of bitBits and Pieces¡2y

    Building a Component Library with React and StyleX

    Learn how to build a component library with React and StyleX using Bit as a build system. The tutorial covers creating a new Bit workspace, creating components with StyleX, using tokens and themes, pushing components to bit.cloud, and installing components in a project.

  12. 12
    Article
    Avatar of towardsdevTowards Dev¡2y

    Mastering the Flip: A Step-by-Step Guide to Crafting an Eye-Catching HTML CSS Flipping Card UI Design

    Learn how to create a mesmerizing flipping card UI design using HTML and CSS. This step-by-step guide provides all the necessary steps to craft an eye-catching card with a flip effect. Enhance your web development skills and implement this creative technique in your projects to create stunning user interfaces.

  13. 13
    Article
    Avatar of sitepointSitePoint¡2y

    Clean Architecture: Theming with Tailwind and CSS Variables

    Explore how clean architecture principles influence theming and how CSS variables in Tailwind CSS make theming easy to maintain. Gain practical skills in using CSS variables and creating dynamic theming in React and Tailwind CSS.

  14. 14
    Article
    Avatar of communityCommunity Picks¡2y

    Creating and coding a Design System from scratch (co-authored by Zuzanna Sobiecka)

    Guidelines and considerations for creating and coding a Design System from scratch. A Design System provides consistency for a brand, speed for designers, and a modular and reliable Component Library for developers. Starting a Design System can be done by deriving it from existing design or code. The DS doesn't need to be complete to be useful. Tokens play a key role in the Design System, simplifying communication between Dev and Design. The DS can evolve and should be coded as a system. Translation of the Design System into code involves creating utility classes based on tokens. Following rules and exceptions ensures fast and consistent UI development.

  15. 15
    Video
    Avatar of fireshipFireship¡2y

    the untold history of web development

    A brief overview of the history and evolution of web development, including key inventions and technologies.

  16. 16
    Article
    Avatar of dwbDavid Walsh¡2y

    AutoGrow Textareas with CSS

    CSS now supports native language improvements for automatically expanding textarea elements. By adding the field-sizing property with a value of content, textarea elements can grow vertically and horizontally. The default value for field-sizing is fixed, but the new behavior of content allows for maximum expansion. To constrain the size a textarea can grow, the width/max-width and height/max-height properties can be used.

  17. 17
    Article
    Avatar of communityCommunity Picks¡2y

    Design and Code a Playable Piano with Figma, HTML, SCSS, and JavaScript

    Learn how to design and code a playable piano using Figma for design, HTML and SCSS for styling, and JavaScript for interactivity.

  18. 18
    Article
    Avatar of communityCommunity Picks¡2y

    Building Responsive Layouts With CSS Grid: A Step-By-Step Guide

    CSS Grid is a powerful tool for building responsive layouts that adapt gracefully to different screen sizes and devices. It simplifies the process of creating responsive layouts, offers flexibility through special units and functions, and can be combined with other techniques like media queries, grid-template-areas, and reordering. Best practices for creating responsive layouts with CSS Grid include starting with semantic HTML, using clear and descriptive names for grid areas, debugging with grid inspection tools, adopting a mobile-first approach, ensuring accessibility, optimizing performance, and maintaining clear documentation.