css实现中性checkbox复选框美化效果代码
代码语言:html
所属分类:表单美化
代码描述:css实现中性checkbox复选框美化效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @font-face { font-family: "Mona Sans"; src: url("https://assets.codepen.io/64/Mona-Sans.woff2") format("woff2 supports variations"), url("https://assets.codepen.io/64/Mona-Sans.woff2") format("woff2-variations"); font-weight: 100 1000; } @layer properties { @property --checkbox-color-hue { syntax: "<number>"; inherits: true; initial-value: 0; } @property --checkbox-color-saturation { syntax: "<number>"; inherits: true; initial-value: 0; } @property --checkbox-color-lightness { syntax: "<number>"; inherits: true; initial-value: 0; } @property --checkbox-color-light-lightness { syntax: "<number>"; inherits: true; initial-value: 0; } @property --icon-opacity { syntax: "<number>"; inherits: true; initial-value: 0; } @property --icon-invert { syntax: "<number>"; inherits: true; initial-value: 0; } @property --icon-size { syntax: "<numbe.........完整代码请登录后点击上方下载按钮下载查看
网友评论0