Tag

clip-path

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 2, 2024 · Frontend Development

Implementing a Fragmented Shard Effect with CSS clip-path and JavaScript

This article explains how to reproduce a website's fragmented shard animation by inspecting the original page, extracting clip‑path polygons with JavaScript, and building a reusable React component using Tailwind CSS transitions and delays, plus a custom drawing board for creating new shapes.

CSSJavaScriptReact
0 likes · 5 min read
Implementing a Fragmented Shard Effect with CSS clip-path and JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 14, 2024 · Frontend Development

Creating a Glitch Clock Effect with CSS Using clip-path and Animations

This tutorial explains how to build a glitch‑style clock animation in CSS by leveraging clip‑path, keyframe animations, random SCSS functions, and layered pseudo‑elements to achieve flickering, distortion, and color‑shift effects.

CSSGlitch EffectSCSS
0 likes · 8 min read
Creating a Glitch Clock Effect with CSS Using clip-path and Animations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 13, 2022 · Frontend Development

Recreating the “声生不息” Logo Using Pure CSS with Gradient, Clip‑Path, and Variable‑Based Color Switching

This article demonstrates how to recreate the “声生不息” program logo using only native CSS and a small amount of JavaScript, covering gradient stripes, clip‑path shaping, background‑clip text effects, CSS variables for color toggling, and detailed code snippets for each implementation step.

Background-ClipCSSJavaScript
0 likes · 19 min read
Recreating the “声生不息” Logo Using Pure CSS with Gradient, Clip‑Path, and Variable‑Based Color Switching
ByteFE
ByteFE
Nov 24, 2021 · Frontend Development

Creating Irregular Shapes with CSS Outline and Clip-Path

This article explains how to use CSS properties such as clip-path and outline to draw irregular shapes, including polygons, double borders, and dotted outlines, providing code examples, visual demonstrations, and tips for replacing borders with outlines in frontend development.

CSSOutlineclip-path
0 likes · 5 min read
Creating Irregular Shapes with CSS Outline and Clip-Path
ByteFE
ByteFE
Jan 20, 2021 · Frontend Development

Achieving overflow:hidden Effects Without Using overflow:hidden in CSS

This article explains how to clip overflowing content vertically while keeping horizontal overflow visible by using CSS techniques such as clip‑path and the contain property, providing code examples, demos, and a comparison with the traditional overflow:hidden approach.

Overflowclip-pathcontain
0 likes · 10 min read
Achieving overflow:hidden Effects Without Using overflow:hidden in CSS