Introduction to CSS3

body {
	padding: 10px;
	margin: 1%;
}

header {
	background-color: #848E66;
	background-image: url("../images/flywheel.jpg");
	background-size:100%;
	padding:20px;
}

h1 {
	text-align: center;
	color: #FFFFFF;
	font-size: x-large;
	text-transform: uppercase;
}

nav a{
	display: inline-block;
	margin: 2%;
		
	-webkit-border-radius: 3;
	-moz-border-radius: 3;
	-o-border-radius: 3;
	border-radius: 5px;

	text-decoration: none;
	padding: 2%;

	color: #000000;
	text-align: center;
	vertical-align: middle;
	background-color: rgba(218,234,213,0.60);
	width:150px;
	height: 20px;
}

.active {
	background-color: #FFFFFF;
}

.left {
	background-color: #848E66;
	width: 24%;
	float:left;
	padding: 5% 0;
}

.right {
	width:74%;
	display: inline-block;
	padding-left: 2%;
}

.left img {
	border: solid 1px #000000;
	width: 80%;
	margin: 10%;
}
table{
	padding:15px;
}
tr{
  background:#E4F8D4;
  padding:8px;
  border:8px;
  width:150px;
}
th{
	text-align:center;
	background:#929F4E;
  color:white;
    -webkit-border-radius: 2 2 0 0;
	-moz-border-radius: 2 2 0 0;
	-o-border-radius: 2 2 0 0;
	border-radius: 2px 2px 0 0;
}
th:first-child{
  text-align:left;
  padding: 10px;
  height:30px;
}

th:last-child{
   -webkit-border-radius: 2 2 0 0;
	-moz-border-radius: 2 2 0 0;
	-o-border-radius: 2 2 0 0;
	border-radius: 2px 2px 0 0;
  width:150px;
}
td{
  height:20px;
  padding:10px;
  text-align:center;
  opacity:0.4;
  font-weight:bold;
  
}
td:first-child{
  height:20px;
  padding:10px;
  text-align:left;
}
tr:hover td{
  opacity:1;
  }


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值