GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chokcoco/magicCss: CSS3奇思妙想,单标签实现各类图形

BranchesTags
Open more actions menu

Latest commit

 

History

79 Commits
79 Commits

Folders and files

NameName
Last commit message
Last commit date
html
html
 
 
static
static
 
 
.DS_Store
.DS_Store
 
 
README.md
README.md
 
 

Repository files navigation

magicCss

CSS3 奇思妙想,使用 CSS3 在单个标签内实现各类图形。

除去一些需要背景衬托的图形,本项目中所有图形均为单标签图形,即使用一个标签完成整个图案。

Demo链接 Description
CSS3奇思妙想 CSS3奇思妙想,单标签实现各类图形
SVG奇思妙想 使用 SVG or clip-path 创建的图形

由来

拜读了 《CSS Secret》 这本大作之后,有了这个项目的想法。其中带星号的图形为书中出现过的实例。

大量使用了 ::before 、::after 伪元素,transparent、border ,多重线性与径向渐变,多重内外阴影,实现了许多奇妙的图形。

很多例子参照了书中得来,也有许多我工作中实践积攒而来的。

Contact

如果有任何问题或者疑问,可以加 QQ 群:418766876 。也欢迎想讨论各种天马行空的 CSS 相关问题的小伙伴们加入。

qqqun

About

CSS3奇思妙想,单标签实现各类图形

chokcoco.github.io/magicCss/html/index.html

Topics

css3pesudo

Resources

Readme
Activity

Stars

1.4k stars

Watchers

54 watching

Forks

288 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.