css实现五种按钮悬浮动画效果代码
代码语言:html
所属分类:表单美化
代码描述:css实现五种按钮悬浮动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="apple-touch-icon" type="image/png" href="https://cpwebassets.codepen.io/assets/favicon/apple-touch-icon-5ae1a0698dcc2402e9712f7d01ed509a57814f994c660df9f7a952f3060705ee.png" /> <meta name="apple-mobile-web-app-title" content="CodePen"> <link rel="shortcut icon" type="image/x-icon" href="https://cpwebassets.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico" /> <link rel="mask-icon" type="image/x-icon" href="https://cpwebassets.codepen.io/assets/favicon/logo-pin-8f3771b1072e3c38bd662872f6b673a722f4b3ca2421637d5596661b4e2132cc.svg" color="#111" /> <title>CodePen - Buttons-CSS</title> <style> /* CONTAINER */ ul { display: flex; flex-wrap: wrap; padding: 2em 0; width: 100%; margin: 0 auto; justify-content: space-around; } li { margin: 0.1rem; display: flex; align-items: center; justify-content: center; flex-direction: column; } /* BUTTON GLITCH */ .button-glitch, .button-glitch:after { width: 150px; height: 76px; line-height: 78px; font-size: 20px; font-family: 'Bebas Neue', sans-serif; background: linear-gradient(45deg, transparent 5%, #FF013C 5%); border: 0; color: #fff; letter-spacing: 3px; box-shadow: 6px 0px 0px #00E6F6; outline: transparent; posi.........完整代码请登录后点击上方下载按钮下载查看
网友评论0