中性风格的计算器效果

代码语言:html

所属分类:布局界面

代码描述:中性风格的计算器效果

代码标签: 计算器 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

*, *::before, *::after{
    box-sizing: border-box;
    font-family: sans-serif;
    font-weight: normal;
    font-size: 10px;
}

body{
    padding:0;
    margin: 0;
    background: rgba(255, 192, 203, 0.7);
}

h4{
    color: #fff;
    font-size: 50px;
    text-align: center;
    font-family: 'Parisienne', cursive;
    font-weight: bold;
    text-shadow: -2px -2px 10px #fc737c;
}

.layout{
	margin: auto;
	width: 350px;
	height: 540px;
	position: relative;
	background: pink;
	border-radius: 20px;
   justify-content: center;
	box-shadow: 2px 2px 15px rgb(248, 147, 165);
}

.calculator{
    height: 500px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 70px);
    grid-template-rows: minmax(100px, auto) repeat(5, 70px);
}

.calculator > button{
    margin: 6px;
    color: #fff;
    font-size: 2rem;
    outline: none;
    cursor: pointer;
}

.span-two{
    grid-column: span 2;
    height: 90%;
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0