open-props暗色与亮色主题下的button按钮示例代码
代码语言:html
所属分类:布局界面
代码描述:open-props暗色与亮色主题下的button按钮示例代码
代码标签: open-props 暗色 亮色 主题 button 按钮 示例 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> @import "https://unpkg.com/open-props" layer(design.system); @import "https://unpkg.com/open-props/normalize.min.css" layer(demo.support); @import "https://unpkg.com/open-props/buttons.min.css" layer(demo.support); @import "https://unpkg.com/open-props/theme.light.switch.min.css" layer(demo.theme); @import "https://unpkg.com/open-props/theme.dark.switch.min.css" layer(demo.theme); @layer demo { button { --_border: none; --_highlight: none; transition: transform 1s var(--ease-spring-5), box-shadow 1s var(--ease-spring.........完整代码请登录后点击上方下载按钮下载查看
网友评论0