div+css实现移动风格打开载入单选框选择效果代码
代码语言:html
所属分类:其他
代码描述:div+css实现移动风格app打开载入单选框选择效果代码
代码标签: div css 移动 风格 app 打开 载入 单选框 选择
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Rampart+One&display=swap'> <style> @import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap"); :root { --main-bg-color: #969182; --scnd-bg-color: rgba(1, 1, 1, 0.2); } #toggleFullScreen { position: absolute; bottom: 0; right: 0; margin: 20px; background-color: white; border: none; padding: 10px; cursor: pointer; transition: transform 0.3s; } #toggleFullScreen:hover { transform: scale(0.9); } * { box-sizing: border-box; } body { margin: 0; padding: 0; width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; background-color: var(--main-bg-color); font-family: "Lato", sans-serif; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.com/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1003%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='rgba(36%2c 38%2c 45%2c 1)'%3e%3c/rect%3e%3cpath d='M437.69 595.14C565.91 557.62 .........完整代码请登录后点击上方下载按钮下载查看
网友评论0