font-weight

Preloading fonts in Chrome with 'preload' link directive

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: The preload directive is not performing in Chrome as expected. Below is a full HTML page that may be opened in Chrome for results comparison. It should be applying all 5 fonts; instead, it only applies the first preloaded font, makes a faux italic for what should be the second, and simply substitutes the default serif for the remaining 3. Additionally, in the developer's console, this message appears--after about 3 seconds--for each of the five fonts: The resource [URL] was preloaded using link preload but not used within a few seconds from

How to include Roboto font in webpack build for Material UI?

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: For a progressive web app based on Material UI (React) and built with Webpack , how do I properly include Roboto font(s) so that the app does not depend on Google servers and fonts also work offline ? The installation page just references the Google fonts page , but that obviously forces fonts to be downloaded from Google servers. A similar Material UI Issue exists regarding Roboto font, but still relies on Google providing the font files. I found a NPM package providing the Roboto font files , but I'm not sure how to include those files as

2019.10.29 笔记

旧时模样 提交于 2019-12-03 02:29:45
一、网页分层效果 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="2019.10.29.css"/> </style> </head> <body> <div id="big"> <div id="left"> <div id="l1">穷游体验馆</div> <div id="l2"> <div id="wenzi">免费体验名额20个</div> <div id="tiyan"></div> <div id="yincang">申请已结束</div> <img src="../image/111.png" > </div> <div id="l3">穿越时空的旅行者 猫王旅行体验官招募(开奖啦)</div> <div id="l4"> <div id="sz">499</div> <div id="jz"> 价值               元 </div> <div id="ckxq">查看详情</div> </div> <div id="l5"> <div id="ll1">近期参与</div> <div class="ll2"><img src="../image/头像1.jpg" ></div

pySerial -- Python的串口通讯模块

匿名 (未验证) 提交于 2019-12-02 22:51:30
pySerial Overview This module encapsulates the access for the serial port. It provides backends for Python running on Windows, Linux, BSD (possibly any POSIX compliant system), Jython and IronPython (.NET and Mono). The module named “serial” automatically selects the appropriate backend. It is released under a free software license, see LICENSE.txt for more details. (C) 2001-2008 Chris Liechti cliechti@gmx.net The project page on SourceForge and here is the SVN repository and the Download Page . The homepage is on http://pyserial.sf.net/ Features same class based interface on all supported

改变font-weight的数值,样式并不会改变的原因

匿名 (未验证) 提交于 2019-12-02 20:32:16
通常情况下,一个特定的字体仅会包含少数的可用字重。若所指定的字重不存在直接匹配,则会通过字体匹配算法规则匹配使用邻近的可用字重。这也就是为什么我们有时候使用特定字重时没有“生效”,看起来跟其它字重差不多的原因所在。 总结: 1.在实际中,最为常用的字重是normal,bold或100-900; 2.normal:正常的字体,相当于数字值400。bold:粗体。相当于数字值700。 文章来源: https://www.cnblogs.com/fantianlong/p/11300825.html

原生模态框,遮罩层

匿名 (未验证) 提交于 2019-12-02 20:32:16
<! DOCTYPE html > < html lang = "en" > < head > < meta charset = "UTF-8" /> < meta name = "viewport" content = "width=device-width, initial-scale=1.0" /> < meta http-equiv = "X-UA-Compatible" content = "ie=edge" /> < title > Document </ title > < style > body { background-color : #000000 ; } ul , li { list-style : none ; padding : 0 ; margin : 0 ; } .div1 { position : fixed ; left : 0 ; right : 0 ; top : 100px ; margin : 0 auto ; width : 345px ; height : 256px ; background : #ffffff ; border-radius : 5px ; overflow : hidden ; z-index : 100 ; } .line { width : 343px ; border : 1px dashed

CSS鏍峰紡鍜屽睘鎬?/span>

匿名 (未验证) 提交于 2019-12-02 16:45:31
CSS鏍峰紡 css鏍峰紡鍒嗕负涓夌锛氬唴閮ㄦ牱寮忋€佽鍐呭紡锛堝唴鑱旀牱寮忥級銆佸閮ㄦ牱寮忥紙澶栭摼寮忥級 鍐呴儴鏍峰紡锛欬/li> css鏍峰紡鏀惧湪head鍐匋/p> 琛屽唴寮忥紙鍐呰仈鏍峰紡锛夛細 css鏍峰紡鏀惧湪鏍囩鍐匋/p> 澶栭儴鏍峰紡锛堝閾惧紡锛夛細 鏂板缓涓€涓猚ss鏍峰紡鏂囦欢锛屽鍥近/p> 鍦╤ead閲岃緭鍏ink鍐嶆寜涓婽ab閿摼鎺ュ閮ㄧ殑css鏍峰紡 CSS閫夋嫨鍣?/h2> 鈶犳爣绛鹃€夋嫨鍣紙鍏冪礌閫夋嫨鍣級 鈶$被閫夋嫨鍣?/h3> 娉ㄦ剰锛氱被鍚嶅墠闈㈣鍔犱釜鑻辨枃鐨勭偣鍙饵/strong> 鈶㈠绫诲悕閫夋嫨鍣?/span> 璇硶锛?lt;鏍囩鍚 class=鈥滅被鍚? 绫诲悕2 ...">鏍囩鍚?gt;銆€銆€ 娉ㄦ剰锛氱被鍚?鍜岀被鍚?鏈夌┖鏍奸殧寮€锛屼笖浜岃€呬负涓嶅悓鐨勭被 鈻秉span style="color: #000000;"> css鏍峰紡鏄剧ず鏁堟灉璺焗 tml鍏冪礌涓殑绫诲悕鍏堝悗椤哄簭鏃犲叧锛屽彈css鏍峰紡涔﹀啓鐨勪笂涓嬮『搴忔湁鍏颤/span> 鈶d閫夋嫨鍣?/span> 娉ㄦ剰锛歩d鍚嶅墠闈㈢殑#涓嶈兘婕忔帀锛屼笖id閫夋嫨鍣ㄤ笉鍏佽閲嶅鍙兘浣跨敤涓€娆狘/strong> 鈶ら€氶厤绗﹂€夋嫨鍣?/span> 鍖归厤椤甸潰鐨勬墍鏈夊厓绱燑/span> css鏍峰紡灞炴€?

wu

风流意气都作罢 提交于 2019-12-02 06:50:49
body{background:#fff;min-height:100%!important;color:#314659!important;font-family:Lato,"PingFang SC","Microsoft YaHei",sans-serif!important}a{transition:all .3s ease!important}a:hover{color:#2D8CF0!important;text-decoration:none!important}#ad_c1,#ad_c2,#ad_t2,#author_profile,#blogCalendar,#blogTitle h2,#comment_form_container p:nth-of-type(3),#comments_pager_top,#green_channel,#homepage_top_pager,#sidebar_imagecategory,#sidebar_postarchive,#sidebar_recentcomments,#sidebar_recentposts,#sidebar_scorerank,#sidebar_search,#sidebar_shortcut,#sidebar_topcommentedposts,#tip_comment2,#under_post_kb,

差点就错过你

旧街凉风 提交于 2019-12-01 15:19:21
之前一直有个想法,想要建立一个自己的个性博客,考虑过github建立博客,看了看步骤,放弃了 偶然发现一下好看的博客,怎么都是cnblogs, 然后发现了一个新的世界,昨晚兴奋滴久久不能入眠。 推荐一下美化博客的链接 好吧,更改我这样子的博客,找不到了-_-! 就把相应代码放在这里吧! 定制化 如果看着自己博客哪里不舒服,就按F12打开浏览器的调试界面,可以具体看看其属性,改改看看效果,如果可以,在更新到后台这里(html小白,表示也会了)。 博客皮肤选择:ThinkInside 页面定制css代码 /*主页面样式*/ html{_background-image:url(none.jpg)}body{background:#EBEDF0 url(http://images.cnblogs.com/cnblogs_com/kingwell/389641/o_debut-light.png) repeat 0 0;color:#555;font:normal normal normal 12px/1.5 Ubuntu,Ubuntu, Helvetica, sans-serif,'\5B8B\4F53';margin:0;padding:0}a,abbr,acronym,address,applet,article,b,big,blockquote,button,canvas

现在SimpleMemory的CSS(by BNDong)

我的未来我决定 提交于 2019-12-01 12:29:15
#EntryTag{margin-top:20px;font-size:9pt;color:gray}.topicListFooter{text-align:right;margin-right:10px;margin-top:10px}#divRefreshComments{text-align:right;margin-right:10px;margin-bottom:5px;font-size:9pt}*{margin:0;padding:0}html{height:100%;max-height:100%;font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{background-color:#fff;font-size:12px;max-height:100%;font-family:"Merriweather","Open Sans","Microsoft Jhenghei","Microsoft Yahei",sans-serif;color:#3a4145;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1;overflow:hidden}body:before{content:'';display