open-props实现模糊背景自适应弹出模态层对话框代码
代码语言:html
所属分类:弹出层
代码描述:open-props实现模糊背景自适应弹出模态层对话框代码
代码标签: open-props 模糊 背景 自适应 弹出 对话框 代码 模态 层
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import '//repo.bfw.wiki/bfwrepo/css/open-props.1.6.17.css' layer(design.system);
@import '//repo.bfw.wiki/bfwrepo/css/open-props.normalize.light.min.css' layer(base.normalize);
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200..900&display=swap');
/* Source code of these utilities: https://github.com/mobalti/layout-craft/blob/main/lib/utilities.css */
@import '//repo.bfw.wiki/bfwrepo/css/layout-craft.utilities.css' layer(base.utilities);
/* More about these new CSS features at: https://developer.chrome.com/blog/entry-exit-animations */
@layer animation.dialog {
dialog[open] {
opacity: 1;
transform: scale(1);
}
dialog {
opacity: 0;
transform: scale(0);
transition: opacity 0.7s ease-out, transform 0.7s var(--ease-spring-1).........完整代码请登录后点击上方下载按钮下载查看
















网友评论0