css实现立体按钮效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现立体按钮效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Rubik+Pixels&display=swap'>
<style>
html, body {
height: 100%;
min-height: 100%;
margin: 0;
padding: 0;
}
body {
display: flex;
flex-wrap: wrap;
align-content: center;
justify-content: center;
background-image: url(//repo.bfw.wiki/bfwrepo/image/643922c51fec2.png);
background-color: #936542;
background-size: cover;
}
body button {
margin: 10px;
padding: 20px 30px;
border: none;
background: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
overflow: hidden;
}
body button .text {
position: relative;
z-index: 2;
display: block;
}
bod.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0