关于一个Body全局样式不解的地方?_html/css_WEB-ITnose

php中文网
发布: 2016-06-24 11:40:42
原创
1448人浏览过

移动Web页面的一段CSS样式,有些地方不是太解。

body {
  font: 16px/2 'Helvetica Neue', Helvetica, STHeiti, 'Hiragino Sans GB', sans-serif;
  color: #ccc;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-transform: none;
  speak: none;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f2f2f2;
}

问题:
text-transform: none;默认值也为none。写在这里貌似没什么太大的意思???  为什么还要写???

“speak: none;"取消发音,具体作用是什么???     为什么要写这个样式属性???

贞龙网店商城电子商务系统java版
贞龙网店商城电子商务系统java版

BIZOSS-B2C是脱胎于贞龙B2B大型平台的网上商城系统、网上商店系统、网上购物系统的企业级B2C电子商务解决方案。系统设置:这里包含了网店的常用功能和全局配置的开关。包括 商店设置 、支付方式和配送方式 、邮件服务器设置、地区列表、友情链接、自定义导航栏、站点地图。商品管理:网店展示商品的核心。其中包括了 商品分类、商品类型、商品品牌、商品回收站、商品上下架等一些设置。促销管理:这个是我们网

贞龙网店商城电子商务系统java版 0
查看详情 贞龙网店商城电子商务系统java版

回复讨论(解决方案)

有大神知道这两个属性是怎么回事么???

移动端写这些也正常啊.

估计是外层有默认赋值,,,,这里进行了还原。。。。

估计是外层有默认赋值,,,,这里进行了还原。。。。


+1应该是。

网上查了一下speak: The speak property defines whether text should be rendered aurally and if so, how. 应该是实验阶段吧,基本没什么用。

Characteristics
Possible values
none
Suppresses aural rendering so that the element requires no time to speak. Note, however, that descendants may override this value and cause the element to be spoken. To ensure descendants do not override, use the display property. Note also the difference between an element whose volume property has a value of silent and an element whose speak property has the value none. If the volume property is silent, although no sound is generated, rendering the text takes up as much time as if the text were being spoken, including any pauses before and after the element. The resulting silence can be used in language teaching applications, for example, where the pause that is generated allows pupils sufficient time to speak out loud a word or phrase.
normal
Uses language-dependent pronunciation rules for rendering an element and its children.
spell-out
Spells the text one letter at a time (useful for acronyms and abbreviations).
inherit
Use the same computed value as the parent element for this property.
Default value
normal

Applies to
All elements

Inherited
Yes

HTML速学教程(入门课程)
HTML速学教程(入门课程)

HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号