Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【打卡】 #3

Open
swustzzh opened this issue Oct 17, 2023 · 1 comment
Open

【打卡】 #3

swustzzh opened this issue Oct 17, 2023 · 1 comment

Comments

@swustzzh
Copy link
Owner

swustzzh commented Oct 17, 2023

阅读《CSS世界》的第三天。

学到一条CSS技巧,一层标签实现双层圆点效果:
image

需要注意的是:双层远点中间的区域的背景色是透明的

@swustzzh
Copy link
Owner Author

background-clip 设置元素的背景(背景图片或颜色)是否延伸到边框、内边距盒子、内容盒子下面。
如果没有设置背景图片(background-image)或背景颜色(background-color),那么这个属性只有在边框( border)被设置为非固实(soild)、透明或半透明时才能看到视觉效果(与 border-styleborder-image 有关),否则,本属性产生的样式变化会被边框覆盖。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant