Quantcast
Channel: CSSタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 8644

HTML&CSS復習課題

$
0
0

header {
width: 100%;
height: 60px;
background-color: black;
}

.logo img {
max-width: 280px;
height: auto;
}

header ul {
float: left;
line-height: 40px;
margin-bottom: 12px;
}

header ul li {
float: left;
list-style: none;
padding-right: 90px;
color: white;
font-size: 20px;
}

main {
clear: both;
}

.main-container {
width: 1580px;
height: 100%;
margin: auto;
margin-top: 20px;
}

.left {
float: left;
width: 1050px;
}

.right {
float: right;
width: 475px;
}

h1 {
border-left: 5px solid black;
border-bottom: 2px solid black;
padding-left: 10px;
margin-bottom: 10px;
width: 60;
}

.bookstore img {
width: 100%;
height: 100%;
margin-top: 10px;
}

.graybox {
width: 100%;
height: 100%;
background-color: lightgray;
margin-top: 20px;
text-align: center;
}

.graybox img {
width: 230px;
padding: 15px 10px 15px 10px;
}

.graybox1 {
display: inline-block;
}

.graybox2 {
display: inline-block;
}

h3 {
border-bottom: 2px dotted black;
}

li {
margin-bottom: 10px;
list-style: none;
}

footer {
clear: left;
width: 100%;
height: 60px;
bottom: 0;
left: 0px;
color: white;
background-color: black;
text-align: center;
line-height: 60px;
}


Viewing all articles
Browse latest Browse all 8644

Trending Articles