Best of CSS โ€” November 2023

  1. 1
    Article
    Avatar of communityCommunity Picksยท2y

    ๐Ÿง™โ€โ™‚๏ธ CSS trick: transition from height 0 to auto!

    Learn how to transition from height 0 to auto in CSS using CSS Grid. Avoid fixed heights and use a neat trick with grid-template-rows.

  2. 2
    Article
    Avatar of joshwcomeauJosh W Comeauยท3y

    An Interactive Guide to CSS Grid

    Learn about the fundamentals of CSS Grid, including how it works and how it can be used to create complex layouts.

  3. 3
    Article
    Avatar of gcgitconnectedยท3y

    11 Ways to Optimize Your Website

    Learn techniques to optimize your website for better user experience and faster loading times, including image optimization, CSS and JavaScript file optimization, resource hints, the use of content delivery networks (CDNs), and caching.

  4. 4
    Article
    Avatar of hnHacker Newsยท2y

    Animotion โ€” a visual CSS animation app

    Animotion is a visual CSS animation app that allows users to create CSS animations by dragging, resizing, rotating, clipping, and more. It includes a keyframes editor, ready-to-use animations, and 29 built-in easings. The app works best on larger screens and modern web browsers.

  5. 5
    Article
    Avatar of devtoDEVยท2y

    ๐Ÿ’ป Web Development Resources #175

    The article provides various web development resources including guides on self-hosting web apps on Ubuntu, frontend testing tools, customizable SVG-based backgrounds, a JavaScript database called SignalDB, free icons, a minimal framework for static websites, discussions on minimalist affordances and card-based UI design best practices, and a CSS framework called NeoBrutalismCSS. It also mentions a CSS button generator.

  6. 6
    Article
    Avatar of css-irlCSS {IRL}ยท3y

    A Fun CSS Text Effect

    A quick demo featuring a fun CSS text effect using background-clip and text-stroke. The text appears to be clipped out of the background, with the background position set to center. Different browsers handle the text-stroke property differently.

  7. 7
    Article
    Avatar of communityCommunity Picksยท3y

    A Couple of New CSS Functions Iโ€™d Never Heard Of

    The article discusses new CSS functions: 'light-dark()', 'xywh()', 'round()', and 'perspective()'. 'light-dark()' allows handling different color values based on light and dark themes. 'xywh()' creates basic shapes with specified width, height, and coordinates. 'round()' offers rounding options and intervals for numbers. 'perspective()' is a function that augments the 'perspective' CSS property. The article also mentions browser support for these functions.

  8. 8
    Article
    Avatar of devtoDEVยท2y

    Exploring a 3D city with just HTML and CSS

    Learn how to convert 3D objects into HTML/CSS elements and explore a customizable city using just HTML and CSS. Discover how to create a 3D city-building game with peak performance and track metrics like population. Also, find out how to approximate any surface using triangles.

  9. 9
    Article
    Avatar of asayerasayerยท3y

    Three plugins to Convert your Figma Designs into Code

    This article explores three plugins that automate the design-to-code process for Figma designs, saving time and ensuring accuracy. The plugins discussed are Figma-to-HTML, TeleportHQ, and Locofy. They empower designers and developers to convert designs into code effortlessly, maintain consistency, embrace modern tools, and support various frameworks. Each plugin has its own capabilities and limitations, but they all aim to streamline the design-to-code translation process.

  10. 10
    Article
    Avatar of communityCommunity Picksยท2y

    Creating Bento Grid Layouts

    Bento grid layouts are versatile and compact ways to display content, inspired by traditional Japanese bento boxes. Apple has popularized the use of bento grid layouts. Various methods such as CSS Grid and Flexbox can be used to create bento grid layouts.

  11. 11
    Article
    Avatar of communityCommunity Picksยท2y

    Width and Height in CSS

    Width in CSS is determined by looking up the tree, while height is determined by looking down the tree. Height: 100% means 'as tall as all the things inside of me', not 'as tall as all the things I am inside of'.

  12. 12
    Article
    Avatar of communityCommunity Picksยท3y

    CSS3 Patterns Gallery

    A gallery of CSS3 patterns with support for various browsers, including Firefox, Chrome, Safari, Opera, and IE.

  13. 13
    Article
    Avatar of communityCommunity Picksยท3y

    SCSS vs. styled-components: Advantages and caveats

    This article compares the advantages and disadvantages of using SCSS and styled-components in a React application. It provides a tutorial on styling a React component using SCSS and later demonstrates how the same component can be restyled using styled-components. The article highlights the simplicity, reusability, and customization benefits of styled-components, but also mentions issues such as dynamically generated class names and debugging challenges. It concludes by stating that the decision to switch from SCSS to styled-components depends on the specific needs and goals of the project, as well as personal preferences and expertise.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCampยท2y

    Practice HTML, CSS, and JavaScript in Spanish by Building 7 Projects

    Learn how to build 7 projects in Spanish using HTML, CSS, and JavaScript. Practice and understand key concepts and techniques with courses on freeCodeCamp's Spanish YouTube channel.

  15. 15
    Article
    Avatar of cssarticlesCSS Articlesยท3y

    I have made 100+ CSS-only Ribbon Shapes | The Perfect Collection ๐ŸŽ€

    A collection of 100+ CSS-only Ribbon Shapes made with modern CSS and optimized with CSS variables. The shapes fit any content and can be easily controlled by adjusting variables.

  16. 16
    Article
    Avatar of gcgitconnectedยท3y

    CSS and Responsive Design

    CSS and Responsive Design aims to create webpages that automatically adapt and adjust their layout, content, and functionality based on the characteristics of the device being used to access the webpage. In the old days, developers would create two different versions of the same webpage, one for desktops and the other for mobile devices.

  17. 17
    Article
    Avatar of syncfusionSyncfusionยท3y

    Top 7 Ways to Write CSS in Your React or Next.js App

    Learn seven different approaches to writing CSS in React and Next.js apps, including global CSS, CSS modules, preprocessor, CSS-in-JS, utility classes, CSS frameworks, and component libraries. Each approach has its pros and cons, and choosing the right one depends on your project's needs.

  18. 18
    Article
    Avatar of devtoDEVยท3y

    A use-case for CSS :has()

    The CSS :has() selector is a unique selector that allows you to select elements based on their children. It can be used to solve specific styling issues, such as applying styles only when certain conditions are met.

  19. 19
    Article
    Avatar of mdnblogMDN Blogยท3y

    Getting started with CSS container queries

    Container queries allow us to query the size of an element, as opposed to the viewport, and style its descendants accordingly. They provide more flexibility when it comes to layout and have the potential to simplify CSS code.

  20. 20
    Article
    Avatar of communityCommunity Picksยท2y

    Hollow text hover effect with only three lines of CSS

    Learn how to create a cool hollow text hover effect using only three lines of CSS: -webkit-text-fill-color, -webkit-text-stroke-width, and -webkit-text-stroke-color.

  21. 21
    Article
    Avatar of asayerasayerยท3y

    Use CSS Blend Modes for Creative Image and Color Manipulation

    Learn how to use CSS blend modes to creatively manipulate images and colors on a website. Blend modes allow developers to combine elements and alter their appearance, resulting in stunning visual effects. Explore practical examples and discover the benefits and applications of CSS blend modes in web design.

  22. 22
    Article
    Avatar of lobstersLobstersยท3y

    Don't disable buttons

    Discover why disabling buttons when a form is being submitted is bad for accessibility and learn a better approach to prevent multiple form submissions.

  23. 23
    Article
    Avatar of css-irlCSS {IRL}ยท3y

    Scroll Timeline Parallax Effect

    Learn how to create a scroll timeline parallax effect using the `animation-timeline` property. Change the amount that each layer moves to create a sense of depth in the animation. Demo only works in Chromium.