css+jquery实现个人信息选项卡效果代码
代码语言:html
所属分类:选项卡
代码描述:css+jquery实现个人信息选项卡效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.6.1.css"> <style> @import url("https://fonts.googleapis.com/css?family=Nunito:400,900|Montserrat|Roboto"); body { background: linear-gradient(to right, #3FB6A8, #7ED386); } .container { background: #FFFFFF; width: 540px; height: 420px; margin: 0 auto; position: relative; margin-top: 10%; box-shadow: 2px 5px 20px rgba(119, 119, 119, 0.5); } .logo { float: right; margin-right: 12px; margin-top: 12px; font-family: "Nunito Sans", sans-serif; color: #3DBB3D; font-weight: 900; font-size: 1.5em; letter-spacing: 1px; } .CTA { width: 80px; height: 40px; right: -20px; bottom: 0; margin-bottom: 90px; position: absolute; z-index: 1; background: #7ED386; font-size: 1em; transform: rotate(-90deg); transition: all 0.5s ease-in-out; cursor: pointer; } .CTA h1 { color: #FFFFFF; margin-top: 10px; margin-left: 9px; } .CTA:hover { background: #3FB6A8; transform: scale(1.1); } .leftbox { float: left; top: -5%; left: 5%; position: absolute; width: 15%; height: 110%; background: #7ED386; box-shadow: 3px 3px 10px rgba(119, 119, 119, 0.5); } nav a { list-style: none; padding: 35px; color: #FFFFFF; font-size: 1.1em; display: block; transition: all 0.3s ease-in-out; } nav a:hover { color: #3FB6A8; transform: scale(.........完整代码请登录后点击上方下载按钮下载查看
网友评论0