ผมจะทำหัวเรื่อง ที่มันชัดเมื่อเอาเมาส์เลื่อนทับ?
และนี่คือ CSS ที่ผมย่ำยีครับ
โค้ด: เลือกทั้งหมด
:focus {
outline: 1;
}
body {
margin-top:7%;
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
color: #000;
font-size: 30px;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
strong {
font-weight:bold;color:#000;
}
em {
font-style:oblique;
}
p {
margin:15px 0;
}
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
h1 {font-size:180%;}
h2 {font-size:150%;}
h3 {font-size:125%;}
h4 {font-size:100%;}
h5 {font-size:90%;}
h6 {font-size:80%;}
a:link {color:#000;}
a:hover {color:#999;}
a:visited {color:#000;}
a:active {color:#000;}
a {text-decoration:none;}
/*End RESET - Begin Full Width CSS*/
body {
background:#000;
color:#fff;
font:13px TH SarabunPSK;
margin:0px
/* IE10 Consumer Preview */
background-image: -ms-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #000000 70%);
/* Mozilla Firefox */
background-image: -moz-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #000000 70%);
/* Opera */
background-image: -o-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #000000 70%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(radial, center center, 0, center center, 506, color-stop(0, #FFFFFF), color-stop(1, #000000));
/* Webkit (Chrome 11+) */
background-image: -webkit-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #000000 70%);
/* W3C Markup, IE10 Release Preview */
background-image: radial-gradient(circle farthest-corner at center, #FFFFFF 0%, #000000 70%);
}
.wrap {
margin:0 auto;
width:900px;
}
#header {
background:#333;
float:top;
top:0px;
left:0px;
padding:20px 0px 10px 0px;
min-width:100%;
min-height:3%;
position:fixed;
opacity:0.45;
}
#header .logo {
float:left;
width:400px;
}
#header p {
float:right;
width:400px;
margin:0;
}
#fl_menu{position:absolute; top:20%; right:0px; z-index:9999; width:150px; height:50px;}
#fl_menu .label{padding-left:20px; line-height:50px; font-family:TH SarabunPSK; font-size:20px; font-weight:bold; background:#000; color:#fff; letter-spacing:7px;}
#fl_menu .menu{display:none;}
#fl_menu .menu .menu_item{display:block; background:#000; color:#bbb; border-top:1px solid #333; padding:10px 20px; font-family:TH SarabunPSK; font-size:15px; text-decoration:none;}
#fl_menu .menu a.menu_item:hover{background:#333; color:#fff;}
.content{
width:520px;
margin:50px auto;
padding-left:5px;
padding-right:5px;
padding-bottom:5px;
color:#000;
background-color:#FFF;
box-shadow: 5px 5px 5px #9F9F9F;
font-size: 30px;
}
.content_l{
width:520px;
margin:50px auto;
padding-left:5px;
padding-right:5px;
padding-bottom:5px;
color:#000;
background-color:#FFF;
box-shadow: 5px 5px 5px #9F9F9F;
font-size: 30px;
margin-left:10%
}
.content_r{
width:520px;
margin:50px auto;
padding-left:5px;
padding-right:5px;
padding-bottom:5px;
color:#000;
background-color:#FFF;
box-shadow: 5px 5px 5px #9F9F9F;
font-size: 30px;
margin-right:8%
}