Tag

CSS

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 16, 2025 · Frontend Development

Master CSS shape(): Create Complex Clip‑Path Shapes with Percentages and Arcs

This tutorial explains the CSS shape() function, its syntax, and how it extends clip‑path and offset‑path capabilities, allowing developers to craft responsive, irregular shapes using percentages, variables, and arc commands, with practical code examples and browser compatibility notes.

ARCCSSclip-path
0 likes · 14 min read
Master CSS shape(): Create Complex Clip‑Path Shapes with Percentages and Arcs
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 7, 2025 · Frontend Development

How to Build a Gradient‑Border Input with CSS – Full Step‑by‑Step Guide

This article walks you through creating a stylish input field with a gradient border using CSS background‑clip, covering the underlying principle, hover and focus effects, smooth transitions, and providing complete, ready‑to‑use code snippets.

CSSfocus effectfrontend
0 likes · 8 min read
How to Build a Gradient‑Border Input with CSS – Full Step‑by‑Step Guide
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.

Atomic CSSCSSCSS Modules
0 likes · 26 min read
From Hand‑Written CSS to Atomic CSS: Evolution, Pain Points, and Modern Solutions
php中文网 Courses
php中文网 Courses
May 16, 2025 · Frontend Development

Self‑Learning Roadmap to Become a Web Developer with HTML, CSS, and PHP

This guide outlines a step‑by‑step self‑learning path covering HTML, CSS, and PHP, offering practical advice, structured phases, and career‑building strategies to help beginners become competent web developers in a systematic and achievable manner.

CSSPHPWeb Development
0 likes · 6 min read
Self‑Learning Roadmap to Become a Web Developer with HTML, CSS, and PHP
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 11, 2025 · Frontend Development

Understanding the Differences Between border: 0 and border: none in CSS

This article explains the semantic and practical differences between the CSS declarations border: 0 and border: none, covering their behavior, use‑cases, performance impact, compatibility with older browsers and assistive technologies, and provides code examples for each.

CSSCompatibilityWeb Development
0 likes · 8 min read
Understanding the Differences Between border: 0 and border: none in CSS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 9, 2025 · Frontend Development

Understanding CSS Container Queries: Usage, Syntax, and Browser Compatibility

This article explains what CSS container queries are, how they differ from media queries, provides practical code examples and syntax details, and summarizes current browser support on both desktop and mobile platforms, helping developers create adaptable component layouts.

CSSContainer QueriesWeb Development
0 likes · 9 min read
Understanding CSS Container Queries: Usage, Syntax, and Browser Compatibility
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 3, 2025 · Frontend Development

Using CSS Grid auto-fill and auto-fit for Responsive Card Layouts

This article explains how to use CSS Grid's auto-fill and auto-fit functions with the repeat and minmax syntax to create responsive card layouts that automatically adapt to different screen widths without media queries, including code examples and guidance on when to choose each option.

CSSauto-fillauto-fit
0 likes · 8 min read
Using CSS Grid auto-fill and auto-fit for Responsive Card Layouts
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.

CSSJuejinTampermonkey
0 likes · 5 min read
Removing Juejin Ads with a Tampermonkey Userscript
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.

CSSCSS FunctionsWeb 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.

CSSPseudo-classesTailwind CSS
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.

Browser CompatibilityCSSWeb Development
0 likes · 10 min read
Top 10 New CSS Features in 2024 and Their Practical Use Cases
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 11, 2025 · Frontend Development

Recreating Bilibili Home Page Banner with Native JavaScript and Major Frontend Frameworks

This article explains how to analyze Bilibili's homepage banner, extract its image layers and transformation data, and then implement the same effect using pure JavaScript as well as Angular, React, and Vue, providing complete source code and a step‑by‑step guide.

AngularBilibili BannerCSS
0 likes · 22 min read
Recreating Bilibili Home Page Banner with Native JavaScript and Major Frontend Frameworks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 19, 2025 · Frontend Development

Six Fun Front‑End Easter Egg Effects with Code Samples

This article showcases six playful front‑end Easter‑egg techniques—including a ghost button, Matrix‑style digital rain, melt animation, console treasure map, reverse‑scroll effect, and real‑time ASCII camera—each accompanied by concise HTML/JavaScript code and usage cautions for developers.

CSSJavaScriptanimation
0 likes · 6 min read
Six Fun Front‑End Easter Egg Effects with Code Samples
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.

CSSWeb Developmentfrontend
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 24, 2025 · Frontend Development

Implementing a Hidden Auto‑Like Button on Facebook Using Frontend Techniques

This article demonstrates how to embed a hidden Facebook Like button that automatically registers likes as the user moves the mouse, using HTML, CSS positioning, JavaScript event handling, and the Facebook SDK, while keeping the element invisible to the user.

CSSFacebookJavaScript
0 likes · 4 min read
Implementing a Hidden Auto‑Like Button on Facebook Using Frontend Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 24, 2025 · Frontend Development

How to Smoothly Change Border Width on Hover Without Layout Shift

This article explains why increasing a card's border width on hover can cause layout jitter and presents three CSS techniques—transparent initial border, dynamic padding adjustment, and flex‑centered layout—to achieve a smooth transition without shifting inner content.

CSSborderflex layout
0 likes · 6 min read
How to Smoothly Change Border Width on Hover Without Layout Shift
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.

CSSCSS Gridfrontend
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 DesignCSSLogical Properties
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.

CSSfrontendoverflow-wrap
0 likes · 6 min read
Understanding CSS Text Wrapping and Related Properties
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 10, 2025 · Frontend Development

Creating a Custom PostCSS px-to-viewport Plugin for Vite to Achieve Responsive Design

This article explains how to create a custom PostCSS plugin for Vite that converts pixel units to viewport width units, covering meta tag setup, plugin configuration, TypeScript implementation, handling multi‑value properties, and troubleshooting conversion issues.

CSSPostCSSTypeScript
0 likes · 8 min read
Creating a Custom PostCSS px-to-viewport Plugin for Vite to Achieve Responsive Design