亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

無法顯示邊框

nav
{
	background-color:#ccc;
	height:?50px;
}
?
#banner
{
	background-color:#777;
	height:?500px;
}
?
nav?ul?
{
	list-style:?none;
	margin:?0px;
	float:?right;
}

nav?ul?li,nav?.logo
{
	display:?inline-block;
	line-height:?50px;
	margin-right:20px?;
}
?
nav?ul?li?a
{
	line-height:?50px;
	text-decoration:?none;
	display:?inline-block;
	height:?inherit;
	color:?aliceblue;
}
?

.inner
{???
	max-width:?300px;
	text-align:?center;
	margin:?auto;
	position:?relative;
	top:?150px;
}

#banner?.inner?h1
{
	margin:?10px;
}

button
{
	border:?none;
	background-color:?red;
	color:?aliceblue;
	padding:?5px?16px;
}

.sub-ss
{
	line-height:?30px;
}

#banner?.inner?.more
{
	margin-top:?140px;
}
.logo?a
{
	letter-spacing:?3px;
	font-size:?16px;
	font-weight:?800;
	color:aliceblue;
	float:?left;
	text-decoration:?none;

}
.logo
{
	padding-left:?10px;
}	
.inner?hr
{
??color:?aqua;
??margin-bottom:?0px;
?margin-top:?0px;
}

.greensection
{????height:?400px;
	text-align:?center;
	background-color:?cornflowerblue;
	color:?aliceblue;
}
.hr
{
	width:?100%;
	height:?1px;
	
	margin:?20px?auto;
}

.greensection?.hr
{
	width:?50%;
	background-color:?aliceblue;
}
.greensection?.wrapper?h2
{margin:?0px;}

.wrapper
{
	max-width:?1050px;
	margin:?0px?auto;
	padding:?100px;
	
}

.sub-code
{
	font-size:18px?;
}
?
?.greensection?.icon-group?.icon
?{
?	display:?inline-block;
?	width:?70px;
?	height:?70px;
?	background-color:cadetblue;
?	transform:?rotate(45deg);
?	margin:?30px;
?	
?}
?
.icon-group
{
	margin-top:?40px;
}
.grey-section
{
	background-color:darkslategray;
	color:?aliceblue;
}
.grey-section?.img-preview
{?
	width:?30%;
	
}

.img-preview?img
{
	width:?100%;
	
}
img
{
	width:?70px;
	height:250px;
	
}
.grey-section?.text-preview
{
???width:?70%;
}
.article-preview?>?div
{
	float:?left;
	font-size:?0;
}
.article-preview:after
{
	content:?'';
	display:?block;
	clear:?both;
}
.article-preview:nth-child(odd)
{
	background-color:?rgba(255,255,255,0.05);
}
.text-preview
{position:?relative;
??top:?60px;
??left:60px;
	
}
.text-preview?h2
{
	margin-bottom:?20px;
}
.text-preview?p
{
	font-size:?18px;
	letter-spacing:?1px;
}
.text-preview?.sub-code
{
	font-size:?20px;
}

.purple-section
{
	background-color:darkslateblue;
	padding:??80px;
	color:#fff?;
}
.purple-section?.heading-wrapper?
{
	text-align:?center;
}
.heading-wrapper?.hr
{
	background-color:?mediumblue;
	width:?60%;
}
.clearfix:after
{
	content:?'';
	display:?block;
	clear:?both;
}

.card
{?padding:50px;
	width:?50%;
	min-height:?300px;
	float:?left;
	-webkit-box-sizing:?border-box;
	-moz-box-sizing:?border-box;
	box-sizing:?border-box;
	border:?2px?solid?white;
}


正在回答

1 回答

兄弟,你的border呢,定義邊框要寫border:1px soild black;

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
HTML5和CSS3扁平化風格博客
  • 參與學習       86790    人
  • 解答問題       406    個

HTML5與CSS3搭建超酷扁平化風格博客

進入課程

無法顯示邊框

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號