Best of HTML โ June 2024
- 1
- 2
Community Picksยท2y
What is this weird CSS Syntax?
Learn about an interesting CSS syntax involving the adjacent sibling combinator (+) and the asterisk (*) to select non-immediate adjacent elements of the same class. This allows styles to be applied to specific siblings a few elements away when hovering over a targeted element.
- 3
- 4
DEVยท2y
๐ Emmet in VSCode โจ
Emmet in Visual Studio Code (VSCode) is a powerful tool that speeds up HTML and CSS coding by expanding abbreviations into complete code structures. Key features include abbreviation expansion, code snippets, and fast navigation and editing. Examples showcase creating divs, lists, links, and basic HTML structures, demonstrating how Emmet can streamline the coding workflow.
- 5
freeCodeCampยท2y
Media Queries vs Container Queries โ Which Should You Use and When?
As the web evolves, new tools like media queries and container queries emerge, offering web developers various ways to make responsive designs. Media queries adapt styles based on the overall viewport size, suitable for different devices. Container queries, however, base their styles on the size of individual containers, promoting modularity and flexibility. While media queries are less effective for complex layouts, container queries support more adaptive component-based designs. Understanding each tool's strengths and considering project requirements will guide their best use in web design.
- 6
Community Picksยท2y
Anchor Links and How to Make Them Awesome
This post discusses anchor links and how to enhance them using CSS. It covers the basics of creating anchor links, enabling smooth scrolling, adding scroll margin, targeted page anchor styles, and more. It also explores nested scrolling and the difference between scroll margin and scroll padding. Overall, it provides a comprehensive guide to making anchor links awesome.
- 7
LogRocketยท2y
Exploring the CSS :display property: A deep dive
This guide delves into the CSS display property, exploring its various values, such as block, inline, flex, and grid. It illustrates how these values dictate the layout and behavior of HTML elements. The post also addresses the updated Level 3 specification that allows for both outer and inner display values, offering greater clarity in defining element roles and layouts.
- 8
Smashing Magazineยท2y
Useful CSS Tips And Techniques โ Smashing Magazine
CSS has become more powerful with new features and techniques. Learn about CSS tips and techniques, testing HTML with CSS, self-modifying CSS variables, hanging punctuation, fixing aspect-ratio issues, and the ongoing debate on masonry layout in CSS.
- 9
- 10
Frontend Mastersยท2y
Pure CSS Circular Text (without Requiring a Monospace Font) โ Frontend Masters Boost
Creating circular text with pure CSS allows for more flexibility compared to traditional methods that use monospace fonts. This guide provides steps to split text into segments, position them in a circle, and use perspective to achieve a seamless look. The technique lets you use various fonts including cursive and even emojis, and allows for further customization with colors and animations.