# CSS-Inspiration **Repository Path**: xu_xia_ke/CSS-Inspiration ## Basic Information - **Project Name**: CSS-Inspiration - **Description**: CSS Inspiration,在这里找到写 CSS 的灵感! - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-11-10 - **Last Updated**: 2021-11-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![logo2.png](./images/logo2.png) 这里可以让你寻找到使用或者是学习 CSS 的灵感,以分类的形式,展示不同 CSS 属性或者不同的课题使用 CSS 来解决的各种方法。 ## 在线预览 [Online Pages](https://chokcoco.github.io/CSS-Inspiration/#/) ## Layout + [CSS实现瀑布流布局(display: flex)](https://chokcoco.github.io/CSS-Inspiration/#/./layout/flex-waterfalls-flow.md) + [CSS实现瀑布流布局(colum+count)](https://chokcoco.github.io/CSS-Inspiration/#/./layout/colum-waterfalls-flow.md) + [CSS实现瀑布流布局(display: grid)](https://chokcoco.github.io/CSS-Inspiration/#/./layout/grid-waterfalls-flow.md) + [多方案实现跨行或跨列布局](https://chokcoco.github.io/CSS-Inspiration/#/./layout/multi-row-or-column.md) + [多种方案实现单列等宽,其他多列自适应均匀布局](https://chokcoco.github.io/CSS-Inspiration/#/./layout/single-column-isometric.md) + [多种方案实现多列等高布局](https://chokcoco.github.io/CSS-Inspiration/#/./layout/multi-column-contour.md) + [圣杯布局](https://chokcoco.github.io/CSS-Inspiration/#/./layout/holy-grail-layout.md) + [圣杯布局(flex实现)](https://chokcoco.github.io/CSS-Inspiration/#/./layout/flex-holy-grail-layout.md) + [双飞翼布局](https://chokcoco.github.io/CSS-Inspiration/#/./layout/double-wing-layout.md) ## 阴影(box-shadow、drop-shadow) + [单侧投影](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/one-sided-shadow.md) + [立体投影](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/solid-shadow.md) + [文字立体投影](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/word-solid-shadow.md) + [长阴影(线性渐变模拟)](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/long-shadow.md) + [线性渐变|阴影实现条纹立体阴影条纹字](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/word-solid-shadow-ii.md) + [使用 box-shadow 实现半透明遮罩](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/opacity-wrap.md) + [box-shadow 实现背景动画](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/shadow-ani.md) + [box-shadow 模拟实现类似线性渐变背景动画](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/shadow-ani-ii.md) + [box-shadow 模拟霓虹氙灯文字效果](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/neon-shadow-light.md) + [单标签借助 inset shdow 实现IE LOGO](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/ie-logo.md) + [借助 filter:drop-shadow ,单标签实现抖音 LOGO](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/douyin-logo.md) + [Box-shadow 实现圆环进度条动画](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/circle-loading.md) + [使用box-shadow/渐变实现内切圆角](https://chokcoco.github.io/CSS-Inspiration/#/./shadow/inscribed-angle.md) ## 伪类/伪元素 + [使用`:not()`伪类实现弹窗背景元素模糊](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-not.md) + [伪类`:focus-within`纯 CSS 方式实现掘金登陆特效](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-juejin.md) + [伪类`placeholder-shown`实现表单交互](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-focus-within-placeholder-shown.md) + [伪元素配合 border 实现气泡对话框](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-bubble.md) + [伪类`:checked`实现纯 CSS Tab 切换](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-focus-checked.md) + [伪类`:target`实现纯 CSS Tab 切换](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-focus-target.md) + [伪类`:focus-within`实现纯 CSS Tab 切换](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-focus-within.md) + [伪类`:hover`实现纯 CSS 方式控制动画的暂停与播放](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-animation-control-hover.md) + [伪类`:checked`实现纯 CSS 方式控制动画的暂停与播放](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-animation-control.md) + [伪类`:target`实现纯 CSS 方式控制动画的暂停与播放](https://chokcoco.github.io/CSS-Inspiration/#/./pesudo/pesudo-animation-control-target.md) ## 滤镜(fliter) + [使用 filter:blur 生成彩色阴影](https://chokcoco.github.io/CSS-Inspiration/#/./filter/filter-shadow.md) + [使用 filter:blur | filter:constrast 生成特殊融合效果](https://chokcoco.github.io/CSS-Inspiration/#/./filter/filter-blur-constrast.md) + [使用 filter:blur | filter:constrast 生成火焰效果](https://chokcoco.github.io/CSS-Inspiration/#/./filter/filter-fire.md) + [滤镜及混合模式混搭特效](https://chokcoco.github.io/CSS-Inspiration/#/./filter/filter-mix.md) + [使用 filter:blur | filter:constrast 单标签实现滴水效果](https://codepen.io/Chokcoco/pen/gZVjJw) + [使用 filter:blur | filter:constrast 小球穿梭效果](https://codepen.io/Chokcoco/pen/ZwYyKO) ## 边框(border) + [活用 border-radius, 实现波浪动画](https://chokcoco.github.io/CSS-Inspiration/#/./border/border-wave.md) + [活用 border-radius, 实现波浪百分比图](https://chokcoco.github.io/CSS-Inspiration/#/./border/border-wave-percent.md) + [border-radius 变换实现 loading 效果](https://chokcoco.github.io/CSS-Inspiration/#/./border/border-loading.md) + [border-color 变换实现文字输入效果](https://chokcoco.github.io/CSS-Inspiration/#/./border/border-typing.md) ## 背景/渐变(linear-gradient/radial-gradient/conic-gradient) + [线性渐变实现条纹字](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-stripe.md) + [重复径向渐变实现波浪边框](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-wave-border.md) + [渐变实现波浪效果/波浪进度框](https://chokcoco.github.io/CSS-Inspiration/#/./bg-wave.md) + [渐变实现优惠券波浪造型](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-coupon.md) + [线性渐变实现内切直角](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-inscribed.md) + [线性渐变实现箭头符号](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-arrow.md) + [利用线性渐变实现下划线](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-underline.md) + [使用 background-attachment 实现毛玻璃效果](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-frosted-glass.md) + [使用渐变实现舞台灯光聚焦效果](https://chokcoco.github.io/CSS-Inspiration/#/./background/bg-focus.md) + [圆锥渐变配合混合模式实现炫酷光影效果](https://codepen.io/Chokcoco/pen/gRRdQq) + [mask-image 实现图片变幻](https://codepen.io/Chokcoco/pen/VqdQwB) + [使用线性渐变实现滚动进度条](https://codepen.io/Chokcoco/pen/KbBXQM) ## 混合模式(mix-blend-mode/background-blend-mode) + [mix-blend-mode 实现 loading 效果](https://chokcoco.github.io/CSS-Inspiration/#/./blendmode/blend-loading.md) + [mix-blend-mode 实现颜色叠加旋转动画](https://chokcoco.github.io/CSS-Inspiration/#/./blendmode/blend-rotate.md) + [使用 mix-blend-mode 实现抖音 LOGO](https://chokcoco.github.io/CSS-Inspiration/#/./blendmode/blend-douyin-logo.md) + [类抖音 LOGO 晕眩效果](https://chokcoco.github.io/CSS-Inspiration/#/./blendmode/blend-mix.md) + [使用 mix-blend-mode 实现图片任意颜色赋值技术](https://chokcoco.github.io/CSS-Inspiration/#/./blendmode/blend-color-set.md) + [CSS MIX](https://codepen.io/Chokcoco/pen/REoKpQ) + [CSS MAGIC MIX](https://codepen.io/Chokcoco/pen/bOgamV) + [CSS MAGIC MIX2](https://codepen.io/Chokcoco/pen/royQvE?editors=1100) + [CSS WAVE MOVE(惊艳的水波效果)](https://codepen.io/Chokcoco/pen/VqbxQr) ## 3D + [使用 translateZ 实现滚动视差](https://chokcoco.github.io/CSS-Inspiration/#/./3d/3d-translate-parallax.md) + [借助 translate3d\perspective 实现 3D 视差效果](https://chokcoco.github.io/CSS-Inspiration/#/./3d/3d-parallax.md) + [借助 translate3d\perspective 实现 3D 视差效果2](https://chokcoco.github.io/CSS-Inspiration/#/./3d/3d-parallax2.md) + [3d 球动画](https://codepen.io/Chokcoco/pen/JwdvmJ) + [3D Spiral Number](https://codepen.io/Chokcoco/pen/LeWbaB) ## 动画/过渡(transition/animation) + [借助transition-delay实现按钮border动画效果](https://chokcoco.github.io/CSS-Inspiration/#/./animation/animation-button-border.md) + [简单曲线运动](https://chokcoco.github.io/CSS-Inspiration/#/./animation/animation-curve.md) + [借助transition-delay简单多重圆的位移](https://codepen.io/Chokcoco/pen/QzzwVO) + [动画正负旋转相消](https://codepen.io/Chokcoco/pen/XaBJPy) ## 综合 + [retina屏下的1px线的实现](https://chokcoco.github.io/CSS-Inspiration/#/./others/1px-line.md) + [MAGIC CSS MIX](https://codepen.io/Chokcoco/pen/XogwvV) + [PURE CSS 实现鼠标跟随](https://codepen.io/Chokcoco/pen/MZqMVO) + [hover | transition 实现鼠标跟随](https://codepen.io/Chokcoco/pen/XgvjQM) + [鼠标跟随动画 PURE CSS MAGIC MIX](https://codepen.io/Chokcoco/pen/zyyYqN) + [CSS文字分裂特效](https://codepen.io/Chokcoco/pen/wRZKNY) + [CSS TEXT Animation](https://codepen.io/Chokcoco/pen/dwxPWO) ## SVG + [使用 SVG 实现文字弧形排列](https://chokcoco.github.io/CSS-Inspiration/#/./svg/svg-arc-word.md)