字体样式。。

我有时不是我 2016-12-29 10:38:42



天猫的,发现自己写的字体跟天猫上不一样啊


<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>天猫精选-上天猫,就够了</title>
<link href="css/index.css" rel="stylesheet"/>
</head>
<body>
<div class="topbar">
<div class="topbar-content">
<p class="login-info">
<em>喵,欢迎来天猫</em>
<!-- -->
<a href="#" class="tb-login">请登录</a>
<a href="#" class="tb-register">免费注册</a>
</p>
</div>
</div>
</body>
</html>



* {
padding: 0;
margin: 0;
}

html {
font-family: "Microsoft YaHei", tahoma, arial, 'Hiragino Sans GB', '\5b8b\4f53', sans-serif;
font-size: 12px;
overflow-y: scroll;
}

body {
-webkit-font-smoothing: antialiased;
}

.login-info {
font-size: 0;
}

em {
font-style: normal;
-webkit-text-size-adjust: none;
font-size: 12px;
}

.topbar {
background-color: #f2f2f2;
border-bottom: 1px solid #e5e5e5;
}

.topbar-content {
position: relative;
left: -15px;
max-width: 1230px;
margin: 0 auto;
height: 32px;
line-height: 32px;
color: #999;
}

.tb-login {
padding-left: 20px;
padding-right: 10px;
color: #999;
text-decoration: none;
-webkit-text-size-adjust: none;
font-size: 12px;
}

.tb-register {
padding-left: 10px;
padding-right: 10px;
color: #999;
text-decoration: none;
font-size: 12px;
}
...全文
397 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
mrfreedom9 2017-01-12
  • 打赏
  • 举报
回复
看起来没什么区别,但应该是字体的问题
yukhj 2017-01-10
  • 打赏
  • 举报
回复


是不是每次都要写校验码啊,好细看不清
good8888job 2017-01-03
  • 打赏
  • 举报
回复
O,没看出来
看着是个昵称 2016-12-30
  • 打赏
  • 举报
回复
引用 1 楼 yanluofeihong 的回复:
你没有设置字体样式,默认是微软雅黑
看错了一点,字体是一样的,好像天猫的字体有一点加粗
看着是个昵称 2016-12-30
  • 打赏
  • 举报
回复
你没有设置字体样式,默认是微软雅黑

61,129

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧