Tagged articles

css

474 articles · Page 1 of 5
CodeNotes
CodeNotes
Jun 10, 2026 · Frontend Development

16 Practical CSS Tricks Using :has() to Replace JavaScript

The new CSS :has() selector finally lets parents be selected based on child states, eliminating dozens of lines of JavaScript; this article demonstrates sixteen real‑world use cases, explains compatibility across major browsers, and offers performance tips for safe adoption.

:has()CSS tricksFrontend
0 likes · 9 min read
16 Practical CSS Tricks Using :has() to Replace JavaScript
AI Open-Source Efficiency Guide
AI Open-Source Efficiency Guide
Jun 6, 2026 · Frontend Development

How KY Design-to-HTML Skill Turns a UI Screenshot into Precise HTML/CSS

The article introduces KY Design-to-HTML Skill, an AI skill for Codex and Claude that converts UI screenshots into precise HTML/CSS by following a six‑step workflow—structure recognition, asset classification, canvas adaptation, code generation, screenshot verification, and iterative correction—plus installation guidance and practical use cases.

AIClaudeCodex
0 likes · 9 min read
How KY Design-to-HTML Skill Turns a UI Screenshot into Precise HTML/CSS
Liangxu Linux
Liangxu Linux
Jun 4, 2026 · Fundamentals

Why HTML & CSS Don’t Count as Real Programming

The article argues that HTML and CSS lack logical constructs, loops, and variables, making them markup and styling tools rather than true programming languages, which require Turing‑complete capabilities such as conditionals and algorithmic reasoning.

HTMLJavaScriptTuring completeness
0 likes · 6 min read
Why HTML & CSS Don’t Count as Real Programming
CodeNotes
CodeNotes
Jun 4, 2026 · Frontend Development

N CSS Centering Techniques Every Front‑End Engineer Should Know

This article classifies centering scenarios, explains horizontal and vertical methods for inline and block elements, and walks through practical CSS solutions—from text‑align and margin auto to Flex, Grid, and absolute positioning—while highlighting pitfalls and a quick reference table.

FlexboxFrontendGrid
0 likes · 8 min read
N CSS Centering Techniques Every Front‑End Engineer Should Know
CodeNotes
CodeNotes
Jun 2, 2026 · Frontend Development

Why Your CSS Rules Aren’t Applying: A 1‑Minute Guide to Selector Specificity

Every CSS developer has faced a rule that refuses to work, tried adding !important, and still seen no change; this article explains the four‑digit specificity weight, inheritance, the dangers of !important, and how @layer can cleanly manage priority, ending with practical debugging steps and best‑practice tips.

@layerFrontendcss
0 likes · 13 min read
Why Your CSS Rules Aren’t Applying: A 1‑Minute Guide to Selector Specificity
Top Architecture Tech Stack
Top Architecture Tech Stack
Jun 1, 2026 · Frontend Development

How Claude Design Turned code80’s Codebase into a Production‑Ready Animation

The author recounts using Claude Design to read the code80 homepage code, generate three animation concepts, refine the chosen smart‑routing sketch, and produce a pure‑HTML/CSS terminal animation that integrates seamlessly with existing Vue components while addressing accessibility and deployment issues.

AI‑assisted designClaude DesignDeployment
0 likes · 8 min read
How Claude Design Turned code80’s Codebase into a Production‑Ready Animation
CodeNotes
CodeNotes
May 29, 2026 · Frontend Development

From CSS3 to Modern CSS: Revolutionary Features Shaping Front‑End Development

This article traces CSS’s evolution from early versions to modern, modular specifications and demonstrates how new features such as custom properties, cascade layers, container queries, :has(), nesting, logical properties, color‑mix(), subgrid, view‑transition API and anchor positioning solve long‑standing styling challenges for developers.

Cascade LayersCustom PropertiesNesting
0 likes · 18 min read
From CSS3 to Modern CSS: Revolutionary Features Shaping Front‑End Development
CodeNotes
CodeNotes
May 27, 2026 · Frontend Development

Mastering CSS Preprocessors: Practical Less and SCSS Guide (Part 4)

This article explains why CSS preprocessors are essential for large projects, demonstrates core features of Less and SCSS—including variables, nesting, mixins, inheritance, functions, and modularization—with real code examples, compares the two syntaxes, and offers recommendations and project‑structure guidelines for modern front‑end development.

FrontendVariablescss
0 likes · 20 min read
Mastering CSS Preprocessors: Practical Less and SCSS Guide (Part 4)
CodeNotes
CodeNotes
May 23, 2026 · Frontend Development

Mastering CSS: Animations, Transitions, and Responsive Design (Part 3)

This article walks through CSS transition syntax and parameters, demonstrates common transition effects, explains 2D and 3D transforms, details @keyframes animation properties and fill‑modes, introduces CSS custom properties for theming, shows media‑query‑based responsive design techniques, and covers performance tips such as will‑change and scroll‑snap.

animationscsscss-variables
0 likes · 22 min read
Mastering CSS: Animations, Transitions, and Responsive Design (Part 3)
IT Services Circle
IT Services Circle
May 22, 2026 · Frontend Development

5 Modern CSS Tricks That Simplify Layouts

This article walks through five modern CSS features—place-content, scroll-behavior, aspect-ratio, gap, and clamp()—showing how each replaces older hacks, improves code clarity, and enjoys broad browser support, ultimately making layout and responsive design far easier.

FlexboxGridLayout
0 likes · 8 min read
5 Modern CSS Tricks That Simplify Layouts
CodeNotes
CodeNotes
May 20, 2026 · Frontend Development

Master CSS Basics: Write Your First Stylesheet (Part 1)

This tutorial walks beginners through CSS fundamentals, covering what CSS is, how to include styles, basic syntax, selector types, cascade and specificity, the box model, units, background, borders, display, positioning, overflow, and a complete card component example, with practical tips for each topic.

Box ModelFrontendLayout
0 likes · 23 min read
Master CSS Basics: Write Your First Stylesheet (Part 1)
CodeNotes
CodeNotes
May 17, 2026 · Frontend Development

Modern CSS Development Techniques: Ditch JS, Embrace Pure CSS Possibilities

This article provides a comprehensive guide to modern CSS techniques—including custom properties, native nesting, logical properties, container queries, the :has() selector, dark‑mode theming, pure‑CSS accordions, dialogs, tabs, tooltips, scroll‑driven animations, parallax, sticky elements, advanced Grid layouts, Subgrid, @layer, @scope, color‑mix, math functions, carousels, lazy‑load placeholders, form validation, theme toggles, and performance optimizations—showing how to replace JavaScript‑heavy interactions with pure CSS solutions.

Frontendcontainer-queriescss
0 likes · 34 min read
Modern CSS Development Techniques: Ditch JS, Embrace Pure CSS Possibilities
Code Mala Tang
Code Mala Tang
Apr 10, 2026 · Frontend Development

Mastering CSS ‘:nth-child of’ Selector for Elegant Date Range Pickers

This guide demonstrates how to use the CSS ‘:nth-child of’ selector syntax together with minimal JavaScript to build a fully functional date‑range picker, covering selector mechanics, HTML structure, CSS grid layout, range‑selection logic, and visual styling of the selected period.

Date PickerFrontendJavaScript
0 likes · 8 min read
Mastering CSS ‘:nth-child of’ Selector for Elegant Date Range Pickers
Code Mala Tang
Code Mala Tang
Mar 30, 2026 · Frontend Development

Mastering New CSS Viewport Units: lv, sv, and dv for Mobile Layouts

This article explains why the traditional 100vh unit fails on mobile browsers, introduces the three new CSS viewport unit families (large, small, and dynamic), and provides practical code examples and guidance for choosing the right unit in responsive web designs.

FrontendMobile WebViewport Units
0 likes · 10 min read
Mastering New CSS Viewport Units: lv, sv, and dv for Mobile Layouts
Coder Trainee
Coder Trainee
Mar 25, 2026 · Frontend Development

Mastering Docsify: Essential Markdown Syntax for Documentation

This guide walks through Docsify's Markdown-based formatting, covering bold text, color and size tweaks via HTML, table creation, alignment options, line breaks, and custom CSS styling to produce professional‑looking documentation pages.

DocsifyFormattingMarkdown
0 likes · 5 min read
Mastering Docsify: Essential Markdown Syntax for Documentation
Coder Trainee
Coder Trainee
Mar 23, 2026 · Frontend Development

Build a Simple HTML/CSS Image Carousel from Scratch

The article walks through creating a basic image carousel using native HTML5, CSS positioning, and a minimal markup structure, explaining each step and providing code snippets while noting that JavaScript navigation still needs to be added.

CarouselFrontendHTML
0 likes · 4 min read
Build a Simple HTML/CSS Image Carousel from Scratch
Coder Trainee
Coder Trainee
Feb 3, 2026 · Frontend Development

How to Turn an Entire Website Grayscale with a Few CSS Lines

This article explains how to apply a global CSS grayscale filter to make every element on a website appear in shades of gray, discusses compatibility considerations, and provides a concise code example that works across major browsers.

FrontendHTMLbrowser compatibility
0 likes · 4 min read
How to Turn an Entire Website Grayscale with a Few CSS Lines
IT Services Circle
IT Services Circle
Jan 17, 2026 · Frontend Development

10 Must‑Know CSS Layout Techniques for 2026

In 2026 front‑end engineering demands performance, maintainability, clean architecture and design‑system scalability, and modern CSS now provides powerful tools—Grid, Flexbox, Container Queries, Subgrid, clamp/min/max, logical properties, aspect‑ratio, and more—to dramatically reduce JavaScript usage while delivering faster, more reliable user experiences.

FlexboxGridLayout
0 likes · 11 min read
10 Must‑Know CSS Layout Techniques for 2026
Frontend AI Walk
Frontend AI Walk
Jan 9, 2026 · Frontend Development

From Pitfalls to Skill: Implementing a Peekable Horizontal Card Swipe with Vant

This article walks through common issues when using Vant's van-swipe for a horizontal card list—such as the last card being clipped and the peek effect being hidden—and presents a three‑layer nesting solution with detailed CSS, Vue code, a self‑test checklist, and a reusable skill definition to streamline future development.

FrontendVantVue
0 likes · 15 min read
From Pitfalls to Skill: Implementing a Peekable Horizontal Card Swipe with Vant
JavaScript
JavaScript
Jan 9, 2026 · Frontend Development

Why Overusing !important Breaks Your CSS and How to Fix It

The article explains how excessive use of the !important declaration creates CSS specificity wars, makes styles hard to maintain and debug, and offers practical techniques—including ID selectors, selector chaining, attribute selectors, repeated selectors, pseudo‑classes, and BEM architecture—to manage specificity responsibly.

BEMBest PracticesFrontend
0 likes · 6 min read
Why Overusing !important Breaks Your CSS and How to Fix It
JavaScript
JavaScript
Dec 17, 2025 · Frontend Development

Why vw and clamp() Are Replacing px and rem for Fluid Layouts

The article explains how modern CSS is shifting from fixed pixel and rem units to viewport‑based vw and the clamp() function, offering truly fluid, boundary‑controlled layouts that scale smoothly across any screen size while preserving accessibility where needed.

FrontendVWclamp
0 likes · 5 min read
Why vw and clamp() Are Replacing px and rem for Fluid Layouts
58UXD
58UXD
Dec 16, 2025 · Frontend Development

Master UI Inspection with DevTools: A Designer’s Step‑by‑Step Guide

This guide shows designers how to leverage browser DevTools for efficient UI reviews, covering opening the tools, selecting elements, measuring spacing with the Box Model, inspecting computed styles, editing values live, using layout panels for Grid and Flexbox, simulating devices, and integrating AI‑assisted checks, all without writing code.

DevToolsUI Inspectionbrowser tools
0 likes · 13 min read
Master UI Inspection with DevTools: A Designer’s Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 9, 2025 · Frontend Development

Building a Music Player UI in Minutes with TRAE SOLO AI

The author demonstrates how TRAE SOLO's AI-powered code generation quickly created a complete music player web page, detailing the initial HTML scaffold, automatic CSS styling, layout fixes, and final deployment, all illustrated with code snippets and screenshots.

AI code generationFrontendHTML
0 likes · 12 min read
Building a Music Player UI in Minutes with TRAE SOLO AI
JavaScript
JavaScript
Nov 28, 2025 · Frontend Development

Replace Media Queries with CSS clamp() for Fluid Responsive Design

This article explains why the traditional px unit and media‑query‑heavy approaches struggle on diverse devices and shows how the modern CSS clamp() function can create fluid typography and layout sizes that smoothly adapt from small to ultra‑wide screens without breakpoint jumps.

Fluid TypographyFrontendclamp
0 likes · 5 min read
Replace Media Queries with CSS clamp() for Fluid Responsive Design
JavaScript
JavaScript
Nov 17, 2025 · Frontend Development

Why vw and clamp() Are Replacing px/rem for Fluid Layouts

The article explains how modern CSS is shifting from fixed pixel and rem units to viewport‑width (vw) and the clamp() function, offering truly fluid layouts that scale smoothly across any screen size while addressing the boundary issues of vw alone.

FrontendVWclamp
0 likes · 5 min read
Why vw and clamp() Are Replacing px/rem for Fluid Layouts
JavaScript
JavaScript
Nov 3, 2025 · Frontend Development

Master Fluid Typography with CSS clamp() for Seamless Responsive Design

This article explains how the CSS clamp() function can replace bulky media queries, enabling fluid typography and adaptable layout dimensions that smoothly transition across device sizes without the rigidity of traditional pixel‑based sizing.

Fluid Typographyclampcss
0 likes · 5 min read
Master Fluid Typography with CSS clamp() for Seamless Responsive Design
Code Mala Tang
Code Mala Tang
Nov 1, 2025 · Frontend Development

Unlock Conditional Styling with CSS if(): A Game‑Changer for Frontend Development

The new CSS if() function, now in Chrome 137, lets developers embed conditional logic directly in style sheets, eliminating JavaScript toggles, preprocessors, and complex media queries, and offering three powerful capabilities—style queries, media queries, and feature detection—along with real‑world examples, current browser support, and future extensions.

Conditional Stylingcssfrontend development
0 likes · 7 min read
Unlock Conditional Styling with CSS if(): A Game‑Changer for Frontend Development
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Oct 20, 2025 · Frontend Development

A Historic Breakthrough in Chinese Front‑End Typography with CSS text‑autospace

The article explains how the new CSS text‑autospace property finally resolves the long‑standing issue of awkward spacing between Chinese characters and Latin letters or numbers, offering a standards‑based solution that works across modern browsers and simplifies front‑end development.

Chinese typographycssfrontend development
0 likes · 5 min read
A Historic Breakthrough in Chinese Front‑End Typography with CSS text‑autospace
IT Services Circle
IT Services Circle
Oct 19, 2025 · Frontend Development

How CSS text‑autospace Fixes Chinese‑English Mixed Typography

This article explains how the new CSS text‑autospace property automatically inserts proper spacing between Chinese characters and Latin letters or numbers, improving readability of mixed‑language web content and offering a simple, standards‑based solution with broad browser support.

CJKFrontendTypography
0 likes · 5 min read
How CSS text‑autospace Fixes Chinese‑English Mixed Typography
JavaScript
JavaScript
Oct 7, 2025 · Frontend Development

Master Fluid Typography with CSS clamp(): Ditch Media Queries

This article explains why the traditional px unit struggles on varied screens, introduces the CSS clamp() function, and demonstrates how to use it for fluid typography and adaptable layout widths, eliminating complex media queries and achieving smooth, responsive designs across devices.

Fluid TypographyFrontendWeb Development
0 likes · 5 min read
Master Fluid Typography with CSS clamp(): Ditch Media Queries
JavaScript
JavaScript
Sep 28, 2025 · Frontend Development

Replace px with CSS clamp() for Fluid Responsive Typography

This article explains why the traditional px unit struggles on diverse devices, introduces the CSS clamp() function as a modern alternative, and demonstrates how to create fluid, breakpoint‑free typography and adaptable layouts using simple code examples.

Fluid TypographyFrontendclamp
0 likes · 4 min read
Replace px with CSS clamp() for Fluid Responsive Typography
JavaScript
JavaScript
Sep 6, 2025 · Frontend Development

12 Proven Techniques to Eliminate CSS Style Conflicts

This article presents twelve practical methods—including BEM naming, CSS Modules, Shadow DOM, @scope, custom properties, and dynamic generation—to dramatically reduce CSS style collisions and achieve reliable style isolation in modern front‑end projects.

BEMCSS ModulesFrontend
0 likes · 4 min read
12 Proven Techniques to Eliminate CSS Style Conflicts
JavaScript
JavaScript
Sep 5, 2025 · Frontend Development

Master Modern CSS Selectors to Simplify and Strengthen Your Stylesheets

This article introduces advanced CSS selector techniques—including :is(), :where(), :has(), attribute wildcards, :nth-child variations, :not(), @layer, :focus-visible, :empty, sibling combinators, composite selectors, and container queries—to help developers write cleaner, more maintainable, and more responsive CSS code.

SelectorsStyle OptimizationWeb Development
0 likes · 5 min read
Master Modern CSS Selectors to Simplify and Strengthen Your Stylesheets
JavaScript
JavaScript
Aug 27, 2025 · Frontend Development

Turn Any Site Dark with One CSS Line: How Filter Invert & Hue‑Rotate Work

This article shows how a single CSS rule using the filter property with invert(1) and hue‑rotate(180deg) can instantly give any website a decent dark‑mode appearance, explains the underlying colour transformations, and provides simple fixes for media elements that get unintentionally inverted.

cssdark-modehack
0 likes · 5 min read
Turn Any Site Dark with One CSS Line: How Filter Invert & Hue‑Rotate Work
JavaScript
JavaScript
Aug 22, 2025 · Frontend Development

Why vw and clamp() Are Replacing px and rem for Fluid Layouts

The article explains how modern CSS units like vw and the clamp() function are overtaking traditional px and rem measurements, offering truly fluid layouts that scale smoothly across any screen size while addressing the limitations of fixed and stepped sizing approaches.

VWclampcss
0 likes · 5 min read
Why vw and clamp() Are Replacing px and rem for Fluid Layouts
IT Services Circle
IT Services Circle
Jul 9, 2025 · Frontend Development

Mastering CSS Inline Conditional Functions (if()) in Chrome 137

Starting with Chrome 137, CSS introduces the inline conditional function if(), allowing developers to embed conditional logic directly in style rules, reducing reliance on @media and @supports and making styles more concise, direct, and flexible.

@ConditionalChromeFrontend
0 likes · 4 min read
Mastering CSS Inline Conditional Functions (if()) in Chrome 137
JavaScript
JavaScript
Jul 8, 2025 · Frontend Development

Why Overusing !important Breaks Your CSS and How to Fix It

This article explains how excessive use of the CSS !important declaration leads to maintainability and debugging problems, details the CSS specificity calculation, compares specificity rules, and provides practical techniques—including ID selectors, selector chaining, attribute selectors, repeated selectors, pseudo‑classes, and BEM methodology—to increase specificity responsibly.

BEMBest PracticesFrontend
0 likes · 8 min read
Why Overusing !important Breaks Your CSS and How to Fix It
JavaScript
JavaScript
Jul 7, 2025 · Frontend Development

How to Stop Users from Copying Web Content: CSS, JS, and Clipboard Tricks

This article explores why you might need to block copying on a web page—such as paid content, exams, or sensitive data—and presents three front‑end techniques (CSS user‑select, JavaScript event handling, and clipboard modification) with code examples, pros, cons, and practical considerations.

Frontendclipboardcopy protection
0 likes · 9 min read
How to Stop Users from Copying Web Content: CSS, JS, and Clipboard Tricks
IT Services Circle
IT Services Circle
Jul 3, 2025 · Frontend Development

Why Overusing !important Hurts Your CSS and How to Avoid It

Using !important may seem like a quick fix for CSS conflicts, but it leads to tangled code, difficult debugging, and maintenance headaches; understanding CSS specificity, leveraging proper selectors, and adopting modern architecture like BEM can eliminate the need for !important and improve code quality.

BEMSpecificitycss
0 likes · 7 min read
Why Overusing !important Hurts Your CSS and How to Avoid It
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 30, 2025 · Frontend Development

Master CSS 9‑Slice Scaling with Border‑Image for Seamless UI Stretching

This article introduces the 9‑slice scaling technique, explains how CSS border‑image properties can create non‑distorting stretchable UI elements, and provides step‑by‑step code examples with visual demos to help front‑end developers reduce asset duplication while maintaining design fidelity.

9-slice scalingResponsiveUI design
0 likes · 7 min read
Master CSS 9‑Slice Scaling with Border‑Image for Seamless UI Stretching
Code Mala Tang
Code Mala Tang
Jun 29, 2025 · Frontend Development

Master CSS background-image: Essential Techniques & Pro Tips

This comprehensive guide explains how the CSS background-image property works, walks through its basic syntax, key controlling properties, advanced techniques like gradients and multiple images, and offers best‑practice tips for optimization and responsive design.

FrontendResponsivebackground-image
0 likes · 7 min read
Master CSS background-image: Essential Techniques & Pro Tips
JavaScript
JavaScript
May 26, 2025 · Frontend Development

Why Overusing !important Breaks CSS and How to Fix It

The article explains how excessive use of the !important declaration leads to maintainability issues, debugging difficulty, and style conflicts, then details CSS specificity calculation, comparison rules, practical techniques to increase specificity, and modern architecture approaches like BEM to write cleaner, more maintainable styles.

BEMBest PracticesSpecificity
0 likes · 6 min read
Why Overusing !important Breaks CSS and How to Fix It
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 25, 2025 · Frontend Development

How to Dynamically Align Background Images Based on Content Height with CSS & Container Queries

This guide explains how to make a background image automatically adjust its position—centering when the title is short and anchoring to the bottom right when the title is long—using plain CSS, a tiny JavaScript toggle, and modern container queries for responsive components.

Frontendbackground-imagecontainer query
0 likes · 8 min read
How to Dynamically Align Background Images Based on Content Height with CSS & Container Queries
DeWu Technology
DeWu Technology
May 21, 2025 · Frontend Development

From Hand‑Written CSS to Atomic CSS: Evolution, Pain Points, and Modern Solutions

The article examines the drawbacks of writing raw CSS, explains how preprocessors, naming conventions, modular approaches, CSS‑in‑JS, and atomic‑CSS frameworks like Tailwind and UnoCSS address redundancy, maintenance, and scalability, and provides best‑practice recommendations for modern front‑end development.

CSS ModulesTailwindUnoCSS
0 likes · 26 min read
From Hand‑Written CSS to Atomic CSS: Evolution, Pain Points, and Modern Solutions
Full-Stack Cultivation Path
Full-Stack Cultivation Path
May 19, 2025 · Frontend Development

Exploring the Future of Atomic CSS with the New CSS attr() Feature

The article examines Chrome 133+’s enhanced CSS attr() function, showing how it can dynamically generate content, apply attribute values to dimensions, support typed values and fallbacks, and enable flexible atomic‑style patterns such as tooltips, progress bars, and advanced styling, while also discussing its current limitations and future potential.

Content GenerationFrontendatomic CSS
0 likes · 9 min read
Exploring the Future of Atomic CSS with the New CSS attr() Feature
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 17, 2025 · Frontend Development

How to Turn a Plain Black Button into a Luxurious Shimmering VIP Element

This article walks through the complete process of transforming a basic black button into a premium‑looking, animated VIP component using CSS gradients, keyframe animations, hover interactions, performance optimizations, and configurable variables, while also explaining the design thinking behind such “out‑of‑the‑box” requests.

Design thinkingFrontendPerformance
0 likes · 6 min read
How to Turn a Plain Black Button into a Luxurious Shimmering VIP Element
Full-Stack Cultivation Path
Full-Stack Cultivation Path
May 14, 2025 · Frontend Development

Creating Adaptive Dot Progress Bars with CSS Gradients and SVG

The article shows how to replace numerous HTML elements with a single CSS‑gradient background tile to build a fully responsive progress bar composed of small dots, explains the calculation of tile size using CSS variables, adds current progress with a linear‑gradient overlay, and offers an SVG alternative that can also be applied to custom range sliders.

GradientsHTMLResponsive
0 likes · 10 min read
Creating Adaptive Dot Progress Bars with CSS Gradients and SVG
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 2, 2025 · Frontend Development

Removing Juejin Ads with a Tampermonkey Userscript

This guide explains how to create and inject a Tampermonkey userscript that hides both the top banner and article‑page advertisements on Juejin, adjusts the navigation layout, and restores the site’s original clean appearance for a better reading experience.

JuejinTampermonkeyUserScript
0 likes · 5 min read
Removing Juejin Ads with a Tampermonkey Userscript
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Apr 27, 2025 · Frontend Development

Super Practical CSS Grid Layout Tricks for 7‑Column Grids

This article walks through several CSS techniques—plain grid markup, repeating linear gradients, selective borders, and pseudo‑elements—to create a 7‑column grid with row separators, explaining each method’s limitations, trade‑offs, and exact selector formulas.

GridLayoutborder
0 likes · 11 min read
Super Practical CSS Grid Layout Tricks for 7‑Column Grids
Code Mala Tang
Code Mala Tang
Apr 23, 2025 · Frontend Development

Discover the Revolutionary CSS view() Function for Seamless Responsive Design

This article introduces the new CSS view() function that calculates element dimensions from viewport data using min, ideal, and max values, enabling fluid, breakpoint‑free layouts, and covers its syntax, practical examples, browser support, and how to implement feature detection for modern web design.

CSS FunctionsViewWeb Development
0 likes · 5 min read
Discover the Revolutionary CSS view() Function for Seamless Responsive Design
Java Captain
Java Captain
Apr 23, 2025 · Frontend Development

Commonly Confusing Tailwind CSS Atomic Classes and Their Usage

This article compiles and explains a set of Tailwind CSS utility classes that often cause confusion—covering dimensions, typography, spacing, truncation, background handling, shadows, transform origins, pseudo‑classes and pseudo‑elements—while providing code examples and plugin recommendations for efficient frontend development.

Tailwind CSSUtility Classescss
0 likes · 7 min read
Commonly Confusing Tailwind CSS Atomic Classes and Their Usage
Sohu Tech Products
Sohu Tech Products
Apr 16, 2025 · Frontend Development

Top 10 New CSS Features in 2024 and Their Practical Use Cases

The 2024 CSS update introduces ten powerful features—scrollbar‑gutter, scrollbar‑color, ::target-text, ruby‑align/position, relative color syntax with light‑dark(), native details accordions, content‑visibility, font‑size‑adjust, transition‑behavior, @property with step‑value functions, and offset‑path/position—enabling smoother layouts, dynamic theming, performance gains, richer typography, and complex animations without JavaScript.

LayoutNew FeaturesWeb Development
0 likes · 10 min read
Top 10 New CSS Features in 2024 and Their Practical Use Cases
Sohu Tech Products
Sohu Tech Products
Apr 2, 2025 · Frontend Development

Turn Any Webpage Into a Live CSS Editor with This Simple Trick

This guide shows how to transform a standard HTML page into an interactive CSS editor by embedding a style element inside the body, adding the contenteditable attribute, and running a live server, enabling instant visual feedback for any CSS changes.

FrontendHTMLWeb Development
0 likes · 4 min read
Turn Any Webpage Into a Live CSS Editor with This Simple Trick
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 5, 2025 · Frontend Development

Making position:fixed Relative to Parent Elements with CSS Techniques

This article explains why CSS position:fixed normally anchors to the viewport, describes the challenges in complex layouts, and demonstrates several CSS tricks—such as using transform, perspective, filter, backdrop-filter, and contain:paint—to make a fixed element position relative to a specific parent, while also covering best‑practice considerations.

Layoutcssposition-fixed
0 likes · 8 min read
Making position:fixed Relative to Parent Elements with CSS Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 23, 2025 · Frontend Development

Comprehensive Guide to CSS Grid Layout: Responsive Design, Implicit/Explicit Grids, Alignment, and Advanced Techniques

This article provides an in‑depth tutorial on CSS Grid, covering responsive layouts with media queries, auto‑fit/minmax tricks, implicit versus explicit grids, column spanning, alignment properties, place‑content shortcuts, repeat syntax, masonry rows, and useful online resources, all illustrated with practical code examples.

CSS GridFrontendHTML
0 likes · 9 min read
Comprehensive Guide to CSS Grid Layout: Responsive Design, Implicit/Explicit Grids, Alignment, and Advanced Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 18, 2025 · Frontend Development

Comprehensive Guide to RTL Support in CSS and Frontend Development

This article explains the challenges of Right‑To‑Left (RTL) layout adaptation, compares three implementation strategies—including CSS logical properties, transform scaling, and manual RTL code—and demonstrates how tools like rtlcss, Tailwind, and Ant Design can automate or simplify RTL support for modern web projects.

Ant DesignLogical PropertiesRTL
0 likes · 20 min read
Comprehensive Guide to RTL Support in CSS and Frontend Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 11, 2025 · Frontend Development

Understanding CSS Text Wrapping and Related Properties

This article explains why long English strings may not wrap in browsers, analyzes the default white-space behavior, and provides practical CSS solutions—including word-break, white-space, overflow-wrap, and word-wrap—along with usage recommendations for mixed Chinese‑English content.

Frontendcssoverflow-wrap
0 likes · 6 min read
Understanding CSS Text Wrapping and Related Properties
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Feb 10, 2025 · Frontend Development

Mastering Emoji in Front‑End Development

This article explains the Unicode foundation of Emoji, shows how to insert and style them in HTML, CSS and JavaScript, discusses common pitfalls with surrogate pairs and string slicing, and presents modern solutions such as Intl.Segmenter and libraries like grapheme‑splitter and emoji‑regex for reliable handling.

EmojiFrontendIntl.Segmenter
0 likes · 14 min read
Mastering Emoji in Front‑End Development
JavaScript
JavaScript
Jan 23, 2025 · Frontend Development

12 Proven Techniques to Eliminate CSS Style Conflicts

Discover twelve effective strategies—including BEM naming, CSS Modules, Shadow DOM, @scope rule, and dynamic style generation—to dramatically reduce CSS conflicts and achieve robust style isolation in complex front‑end projects, complete with code examples and visual illustrations.

BEMCSS ModulesFrontend
0 likes · 4 min read
12 Proven Techniques to Eliminate CSS Style Conflicts
JavaScript
JavaScript
Jan 22, 2025 · Frontend Development

Master Modern CSS Reset Techniques to Eliminate Browser Inconsistencies

This guide presents modern CSS Reset techniques—including box‑model, typography, form, list, media, scrollbar, touch, and print optimizations—to eliminate default browser inconsistencies, ensure consistent rendering, and improve development efficiency across all major browsers.

Web Stylingcross‑browsercss
0 likes · 4 min read
Master Modern CSS Reset Techniques to Eliminate Browser Inconsistencies
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 22, 2025 · Frontend Development

Responsive Card Layout with Flexbox: Solving Alignment and Wrapping Issues

This article explains how to create a responsive grid of fixed‑width cards using CSS Flexbox, discusses common alignment problems when the number of cards changes, and presents several solutions—including adjusting justify‑content, using nth‑child selectors, and wrapping the container in an overflow‑hidden parent—to achieve consistent layout across varying screen sizes.

FlexboxFrontendcss
0 likes · 6 min read
Responsive Card Layout with Flexbox: Solving Alignment and Wrapping Issues
JavaScript
JavaScript
Jan 21, 2025 · Frontend Development

Master Modern CSS Selectors to Simplify Code and Boost Maintainability

This guide explores twelve cutting‑edge CSS selector techniques—including :is(), :where(), :has(), attribute wildcards, and container queries—showing how they can reduce redundancy, improve specificity handling, and make stylesheets more concise and maintainable for front‑end developers.

SelectorsWeb Developmentcss
0 likes · 5 min read
Master Modern CSS Selectors to Simplify Code and Boost Maintainability
21CTO
21CTO
Jan 15, 2025 · Frontend Development

How to Become a Front-End Developer by 2025: A Complete Roadmap

This guide outlines a step‑by‑step roadmap for aspiring front‑end developers, covering essential fundamentals, workspace setup, HTML/CSS, JavaScript, version control, React and bonus skills, with realistic timelines to help you reach a professional level by 2025.

FrontendGitHTML
0 likes · 8 min read
How to Become a Front-End Developer by 2025: A Complete Roadmap
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 10, 2025 · Frontend Development

Implementing a Seamless Carousel with Vue: Dynamic Data Switching, Transition Effects, and Auto‑Play Controls

This tutorial explains how to build a seamless carousel in Vue by dynamically switching a data list, using the Transition component for enter/leave animations, adding an auto‑play timer, handling hover pause/resume, and solving visibility‑change flicker with concise CSS and JavaScript code.

CarouselJavaScriptTransition
0 likes · 9 min read
Implementing a Seamless Carousel with Vue: Dynamic Data Switching, Transition Effects, and Auto‑Play Controls
JavaScript
JavaScript
Dec 29, 2024 · Frontend Development

12 Must‑Know CSS Selectors to Write Cleaner, More Efficient Code

This article introduces twelve practical CSS selectors—including attribute, structural pseudo‑classes, combinators, and state selectors—showing how they simplify styling, reduce class clutter, and enhance maintainability for modern front‑end development.

SelectorsStylingWeb Development
0 likes · 5 min read
12 Must‑Know CSS Selectors to Write Cleaner, More Efficient Code
JavaScript
JavaScript
Dec 26, 2024 · Frontend Development

12 Essential Mobile Web Issues and How to Fix Them

This article outlines twelve common mobile web challenges—from 1px borders and 300 ms click delays to safe‑area handling and image loading optimization—providing concise CSS and JavaScript solutions to improve responsiveness, usability, and performance across diverse devices.

FrontendJavaScriptPerformance
0 likes · 6 min read
12 Essential Mobile Web Issues and How to Fix Them
JavaScript
JavaScript
Dec 20, 2024 · Frontend Development

8 Essential CSS Techniques for Clean, Maintainable, and Conflict‑Free Styles

This article presents eight practical CSS techniques—including variables, :is/:where selectors, aspect‑ratio, clamp(), gap, logical properties, :has(), and @layer—to help developers write concise, maintainable, and conflict‑free styles for modern web projects.

FrontendStyle Optimizationcss
0 likes · 6 min read
8 Essential CSS Techniques for Clean, Maintainable, and Conflict‑Free Styles