div+css实现炫酷立体按钮代码

代码语言:html

所属分类:布局界面

代码描述:div+css实现炫酷立体按钮代码

代码标签: div css 立体 按钮 代码

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


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  


  <link rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&amp;display=swap'>
  
<style>
.fancy-button {
  --fancy-button-gradient-0: #8D49FD;
  --fancy-button-gradient-50: #7F56F3;
  --fancy-button-gradient-100: #5691F3;
  --fancy-button-inner-shadow-top: rgba(233, 209, 255, 0.2);
  --fancy-button-inner-shadow-top-lg: rgba(9, 12, 60, 0.1);
  --fancy-button-inner-shadow-bottom: rgba(137, 222, 246, 0.3);
  --fancy-button-shine-top: #E9D1FF;
  --fancy-button-shine-bottom: #ADFFF9;
  font-family: "Poppins";
  font-weight: 500;
  font-size: 15px;
  line-height: 21px;
  text-shadow: 0px 0.5px 0.5px rgba(0, 0, 0, 0.2);
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
     -moz-.........完整代码请登录后点击上方下载按钮下载查看

网友评论0