价格表css布局

代码语言:html

所属分类:布局界面

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

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

<title>Pricing Design - #036 of #100Days100Projects</title>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css'>
<style>
  @import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300&display=swap');

* {
	box-sizing: border-box;
}

body {
	background-color: #fafafa;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: 'Roboto', sans-serif;
	margin-bottom: 60px;
}

h1 {
	letter-spacing: 1px;
}

.pricing-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.pricing {
	background-color: #fff;
	border: 1px solid #eee;
	margin: 10px;
	text-align: center;
}

.pricing.highlight {
	border-top: 2px solid #50BC01;
	box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

.pricing h1 {
	color: #5CAEFE;
	margin: 30px 0 0;
}

.pricing h4 {
	margin: 20px 0 0;
}

.pricing small.green {
	color: #50BC01;
	margin: 0;
}

.pricing small.green + h1 {
	margin-top: 10px;
}

.pricing small {
	color: #777;
}

.pricing ul {
	list-style-type: none;
	padding: 0;
	margin: 40px 0;
}

.pricing ul li {
	margin: 20px 30px;
	max-width: 250px;
}

.pricing button {
	background-color: #5CAEFE;
	border: 0;
	border-radius: 2px;
	color: #fff;
	padding: 12px 20px;
	margin-bottom: 30px;
}


/* SOCIAL PANEL CSS */
.social-panel-container {
	position: fixed;
	right: 0;
	bottom: 80px;
	transform: translateX(100%);
	transition: transform 0.4s ease-in-out;
}

.social-panel-container.visible {
	transform: translateX(-10px);
}

.social-panel {	
	background-color: #fff;
	border-radius: 16px;
	.........完整代码请登录后点击上方下载按钮下载查看

网友评论0