Hbuilder中怎么调整文字位置和字体样式?要求把标题“苏菲卫生巾…分析”位置往下调整,需要上下左右都居中,右边时间显示字体样式改成微软雅黑,并且字体大小调大一号。
以下是css文件
@charset "utf-8";
*{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box}
*,body{padding:0px; margin:0px;font-family: "微软雅黑";}
body{ background:#000d4a url(../images/bg.jpg) center ; background-size:cover;color:#fff; font-size: .1rem; }
html,body{height: 100%;}
.clearfix:after, .clearfix:before {display: table;content: " "}
.clearfix:after {clear: both}
.pulll_left{float:left;}
.pulll_right{float:right;}
/*谷哥滚动条样式*/
::-webkit-scrollbar {width:5px;height:5px;position:absolute}
::-webkit-scrollbar-thumb {background-color:#5bc0de}
::-webkit-scrollbar-track {background-color:#ddd}
/***/
.head{ height:5.75rem; background: url(../images/head_bg.png) no-repeat center center; background-size: 100% 100%; position: relative}
.head h1{ color:#fff; text-align: center; font-size:2.3rem; line-height:.8rem; letter-spacing: -1px;}/* .head h1 img{ width:6.5rem; display: inline-block; vertical-align: middle; } */
.time{ position:absolute; right:.15rem; top:15; line-height: .75rem;color:rgba(255,255,255,.7); font-size: .9rem; padding-right: .1rem;font-family:electronicFont;}
以下是网页链接
http://127.0.0.1:8848/%E5%A4%A7%E5%B1%8F%E5%B1%95%E7%A4%BA/introduction.html