Best of CSSOctober 2022

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Harvard CS50 – Free Computer Science University Course

    Harvard CS50 is one of the most popular beginner computer science courses in the world. The course teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web programming.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    HTML Reference

    HTML Reference is free and always will be! Please whitelist us in your ad blocker. Learn by example: HTMLreference.io is a free guide to HTML. It features all elements and attributes.

  3. 3
    Article
    Avatar of communityCommunity Picks·4y

    Make your React apps fast again

    Profiler can help you improve performance of a React application. We will go over ways to improve the performance of an app, including some pre-optimization techniques. We can use the Profiler in the React DevTools to measure performance of our apps. To use the profiler, you must Some are asynchronous, such as background HTTP calls, while others occur by user or You.

  4. 4
    Article
    Avatar of communityCommunity Picks·4y

    A Deep Dive Into CSS Grid minmax()

    CSS Grid minmax() can’t handle responsive design by itself. The definition of minmax(min, max) is as the following: Defines a size range greater than or equal to min. In the video below, the dotted rectangle represents the additional space. When the viewport is bigger, the browser collapses the rectangle and distribute its width between the other grid items. When using auto-fill/fit, you might get the same result. The browser deals with that differently.

  5. 5
    Article
    Avatar of communityCommunity Picks·4y

    CSS Grid – Complete Guide In 10 Minutes

    CSS Grid is a two-dimensional layout system that can handle both columns and rows. With an implicit grid, you simply define the number of columns you want, and the browser will create the grid automatically. The child properties in CSS Grid are used to define the size, position, and other aspects of grid items. These are a few main child properties that can be applied to the grid element.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Web Layouts – How to Use CSS Grid and Flex to Create a Responsive Web Page

    The aim of every web layout is to reduce confusion, enhance usability and give your users an enjoyable experience. Some of the main elements of a layout are navigation, menus and content. In web and front-end development, having a layout in mind ahead of building can help you decide on what CSS layout module to use.

  7. 7
    Article
    Avatar of communityCommunity Picks·4y

    Why We're Breaking Up with CSS-in-JS

    CSS-in-JS allows you to style your React components by writing CSS directly in your JavaScript or TypeScript code. It's easy to accidentally apply styles more widely than you intended. The ability to use JavaScript constants in styles reduces duplication in some cases, since the same constant does not have to be defined as both a CSS variable and a JavaScript constant. Inline styles are not ideal for performance.

  8. 8
    Article
    Avatar of vercelVercel·4y

    Introducing OG Image Generation: Fast, dynamic social card images at the Edge – Vercel

    Vercel OG Image Generation is a new library for generating dynamic social card images. This approach is 5x faster than existing solutions by using Vercel Edge Functions, WebAssembly and a brand new core library for converting HTML/CSS into SVGs. The engagement rate of Tweets that embed a card is 40% higher.

  9. 9
    Article
    Avatar of communityCommunity Picks·4y

    CSS Game: 8 Games to learn CSS the fun way

    The Flexbox layout can have more than 12 different values where many can be combined with the keywords safe or unsafe. To read the complete guide to flexbox on CSS Tricks, you have to scroll through a two column page with a height of more than 20k pixels - and although the title implies it, they are not Creator: Dave Geddes 11. A registration is required. If you know other great CSS learning games, let everyone know in the comments below.

  10. 10
    Article
    Avatar of communityCommunity Picks·4y

    What are good CSS Breakpoint values for Responsive Design?

    CSS Breakpoint values for Responsive Design can be used to design for larger and bigger screens. Designing mobile-first and using min-width seems the most accepted and used solution nowadays.

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Build a Modal with JavaScript

    A pop-up window is called a modal, a web page element that pops up and displays in front of other page content. You can also use modals for other things like creating call-to-action elements, navigation menus, newsletter widgets, and more. In this tutorial, I'll walk you through { display: flex; align-items: center; justify-content: space-between; }.

  12. 12
    Article
    Avatar of asayerasayer·4y

    Implementing Claymorphism with CSS

    Claymorphism is based on 3D-like objects made from clay, with inner and outer shadows to create depth. The Origin of Claymorphism It’s 2022, and a design pattern has vastly emerged and become famous in Dribble and Behance. We want to show the completeness of claymorphic design patterns. The result is: Open Source Session Replay.

  13. 13
    Article
    Avatar of asayerasayer·4y

    CSS-in-JS for React: Linaria vs. Styled Components

    Linaria is one of the most popular CSS-in-JS solutions. Styled-components enables you to write actual CSS code to style your components. It also creates a layer of abstraction between components and styles, thereby eliminating the direct mapping between them. It offers many features, which include: Automatic critical CSS and Code Splitting and CodeSplitting. It also enables code splitting.

  14. 14
    Article
    Avatar of webweb.dev·4y

    CSS Animated Grid Layouts

    The rendering engine will automatically detect the type of the targeted property’s value, and use that information to smoothly transition to the new value. The same applies to CSS animations, where the browser will do value interpolation between keyframes. With the transition property in place, the grid smoothly interpolates between values.

  15. 15
    Article
    Avatar of asayerasayer·4y

    All about CSS animations

    CSS animation allows us to animate a sequence of HTML element states over a given period. The animation is created by using step-by-step conversion from one fashion to another. In the code block above, we created a square with sides of 200 pixels and a background color of blue. Adding different colors for the background will produce a color-switching effect.

  16. 16
    Article
    Avatar of phProduct Hunt·4y

    CSS GUI - Create CSS without code by an open source tool

    Create CSS without code by an open source tool Let's create css without code. You can play background, shadows, gradient, border and event animation here.

  17. 17
    Article
    Avatar of smashingSmashing Magazine·4y

    Futuristic CSS — Smashing Magazine

    The State of CSS survey is open right now, so go take it! The goal of the survey is to help anticipate future CSS trends, and the data is also used by browser vendors to inform their roadmap. The @image proposal might be a step in that direction, as it gives you tools to define or modify images right inside your CSS code.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    The Best Programming Language to Learn – Beginners Guide to Coding

    Coding is one of the most valuable skills to learn today. Coding involves telling a computer what to do using a language both humans and machines understand. HTML and CSS are markup languages, and you use them to create static web pages.

  19. 19
    Article
    Avatar of logrocketLogRocket·4y

    Applying Atomic Design to your Next.js project

    Atomic Design was inspired by chemistry, which is why the building blocks are called atoms, molecules, organisms, templates, and pages. In this tutorial, we will focus on Atomic Design, learn its Create a components/Navbar.js file and paste the code. To edit the styling, add a navbar.scss file to styles andpaste the styles below. The author�’s molecule will contain the author's image and name. In this tutorials, we’ll use the Image component.

  20. 20
    Article
    Avatar of communityCommunity Picks·4y

    Introduction to WebC

    WebC is a new tool for serializing custom elements at build time. It aggregates component-level CSS and JavaScript, allowing developers to keep their styles and scripts together with the markup as single file components. WebC supports scoped styles via the webc:scoped attribute, which you add to your <style> tag.

  21. 21
    Article
    Avatar of bootstrapBootstrap·4y

    Bootstrap 5.2.2

    Bootstrap 5.2.2 has landed with new bug fixes and documentation updates. Accordion use Sass variable for the accordion color instead of an invalid CSS variable. TabsTabs no longer autofocus and cause pages to jump on tab.

  22. 22
    Article
    Avatar of logrocketLogRocket·4y

    Using CSS to hide scrollbars without impacting scrolling

    The scrollbar in the browser allows the user to scroll up and down on the page without having to take their hands off the keyboard or trackpad. Hiding the scrollbar will create a smoother scrolling experience and remove some distractions from your site’s overall layout. In IE (Internet Explorer) and Edge, the syntax for hiding a scrollbar is a bit different from WebKit-based browsers like Opera, Chrome and Safari. The syntax for hide a scroll bar is a little different.

  23. 23
    Article
    Avatar of logrocketLogRocket·4y

    How to build a skeleton screen with CSS

    The tutorial is very beginner friendly, but there are some details so you need to follow. Vite is a build tool that helps you optimize your developer environment. To set Vite up, type npm create vite-project -- --template react into the terminal.

  24. 24
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    CSS Flexbox Explained – Complete Guide to Flexible Containers and Flex Items

    CSS Flexbox gives you the tools to create basic and advanced website layouts in flexible and responsive ways. This tutorial discusses everything you need to know to use Flexbox like a pro. A flex container is an HTML element whose display property's value is flex or inline-flex. Use flex-direction: column-reverse to reverse the browser's layout direction. Try it on StackBlitz.

  25. 25
    Article
    Avatar of hnHacker News·4y

    Pokemon Deckz

    Pokemon Deckz Pokemon Cards V2 A collection of advanced CSS styles to create realistic-looking effects for the faces of Pokemon cards. The cards use 3d transforms, filters, blend modes, and interactions to provide a unique experience when taking a closer look.