Mobile Web development is already the mainstream of web technology, in fact, compared to the PC side, we do not need to master the additional technology, but many things on the PC does not apply to the mobile phone web, mobile Web side we must know the special point, the following is my excerpt from the Alloyteam team development experience.Font settingsUse sans serif fonts
The code is as follows
Copy Code
Body {font-family: "Helv
display Chinese and Chinese symbols. The reason for choosing Arial is because:
Windows and Macs are pre-installed with this font, which should be the most widely used Web page font. Its potential rivals, Tahoma and Helvetica, are not so fortunate.
Visual design professionals may think it's better to use Tahoma in Windows and use Helvetica on Macs, such as Taobao's default font style is Font:12px/1 Tahoma
The official version we'll see next week will be very different from what we see on WWDC. Apple released its new version of the iOS operating system in June-the biggest adjustment and improvement since its first release in 2007. This change has attracted a lot of criticism. Many designers have basked in their own "improved" IOS 7 on the Web site, and have written articles criticizing Apple's translucent design of fonts, icons and the effects of hair glass used on IOS 7.
After 3 months and 6 bet
A paragraph is one of the other important elements in typography. A global text style is set for text in bootstrap (the text referred to here refers to the body text):
1, the global text font size is 14px (font-size).
2, Row height for 1.42857143 (line-height), about 20px (you see a string of decimals may have doubts, in fact, he is calculated by the less compiler, of course, Sass also has such a function).
3, the color is dark gray (#333);
4, the font for "
Many people are familiar with the solution of using the anchor link to jump to the page. This effect is very practical when a long data set needs to be listed, however, page Jump is sometimes not a good friend for tourists, so I will not talk about the disadvantages, according to Xiang, most Web developers in this article are likely to be familiar with the solution of using the anchor link to jump to the page. You can set an anchor link for a specific name attribute and use the href value as a h
CSS Basic:Font-famliyFont-sizeFont-styleText-decorationColorBackground-color...
Skills:Define the parent element in the body selector and inherit the subclass for easy administrationThe option after Font-famliy is actually a preferred list to selectFont-size in body is best to define Small,medium,large first ... Subclasses change through 200%,1.2EMFont-style control italic, and italicText-decoration Text style underlineColor,background-color Color control via RGB (0~255)
@font-face{f
, the font symbol here, In the new font file, it is recommended to start with a font from a, so that it is convenient to write in late code, double-click the box under a, pop up a font editing window, click File->import, import the. svg format file you just saved with AI, import fonts. (Note: Select Import font type) Import Font SucceededAs the previous method, import all the required fonts into the. ttf format (click File->generate Fonts). (Note: 1. This is to be saved as a. ttf format, such a
Cross-origin requests are resources in one site to access resources on another site with different domain names. This is common. For example, you can use the style label to load external style table files, use the img label to load external images, use the script label to load external script files, and use cross-origin requests, that is, resources in one site access resources on another site with different domain names. This is common, for example, loading external style table files through sty
';src:url (' Yourwebfontname.eot ');/*IE9 Compat Modes*/src:url (' yourwebfontname.eot #iefix ') format (' Embedded-opentype '),/*IE6-IE8*/url (' yourwebfontname.woff ') format (' Woff '),/*Modern Browsers*/url (' yourwebfontname.ttf ') format (' TrueType '),/*Safari, Android, IOS*/url (' yourwebfontname.svg#yourwebfontname ') format (' SVG ');/*Legacy IOS*/}Ii. Methods of Use1. Download Special fontsFor example I want to download single-malta.font this font, download font link forHttp://www.da
Today, I want to introduce a small tool that can help achieve the ultimate goal of no web page. Theoretically, it can convert any image into a clean html Tag without an image or background image. But there is a premise: Your computer must have enough resources to support it ....,.
For a long time, the optimization work of web development has never been stopped. The absence of web pages is also a kind of imagination to reduce page resource requests. It is understandable that in the course of web
Problem:Although the webpage is displaying and running normally, there are 404 errors in 2 font files. Like the author of this obsessive-compulsive disorder is not acceptable.Solve:Because the author's server is a virtual host, only need to add the corresponding MIME type on the host controller platform.This allows the server to support both font files without error.Refer to the full text of the solution article as follows:Source: http://www.yneit.com/2016/06/fontsfontawesome-
optimize them and serve them responsibly.Font subset SettingsSo far, subset setting is the quickest way to improve the performance of your Web page fonts. I will recommend it to every web developer who uses a custom Font. If you have complete control over the content of the page and know what features it is going to show, you can use subset settings entirely. however, even if you just set the font to Western languages, it can have a big impact on file Size. For example, our Noto Regular WOFF fo
When looking at the Php.net document, I found the English font of the page ("Fira Mono") pretty good,
But put it on my own web page and it gets down. What is the reason, please? (same computer, same browser)
Reply content:
When looking at the Php.net document, I found the English font of the page ("Fira Mono") pretty good,
But put it on my own web page and it gets down. What is the reason, please? (same computer, same browser)
There's no such font in your system. And your Web page does
support copies of html5shiv trunk Library. In the main part, I used custom Google Webfont fonts and some artistic CSS3 effects.
Copy codeThe Code is as follows:
Subject contentThe href value of the anchor link is the target index listed in alphabetical order on the page. From indexa to # indexg, the value of the name attribute that matches the climbing link on other pages.
Copy codeThe Code is as follows:
The following is the specific scrolling
the image size and color. However, it should be noted that iconfont references the compatibility of different webfont formats. It is recommended to write in the following order based on experience, otherwise it is not easy to be compatible with all browsers.
@ Font-face {
Font-family: iconfont;
Src: url ("./iconfont. eot ");
Src: url ("./iconfont. eot? # Iefix ") format (" eot "),
Url ("./iconfont. woff") format ("woff "),
Url ("./iconfont. t
: hidden; height: 0 ;}/ * clear floating */ul li {list-style: none; float: left; font-size: 30px; margin: 5px; color: # ccc; cursor: pointer;}/* pentagram style */. hs ,. cs {color: # f00;}/* after a pentagram click style */
2.2.2 html content
2.2.3 js Code
2.2.4 Display Results
2.2.5 conclusion: If you want to make such a score in your project, you do not need to use images to calculate the distance. This can be used directly. Style and size can be controlled at will, which is very simple an
Today I talk about the theme is CSS, specific talk about my CSS learning history, share some dry goods, I hope this share has inspired and help.personal CSS History:Talk about their own history of CSS learning, 12, was the teacher hand 1 to 1 teach me div+float fixed layout, all elements with float, do the student Union website All front page, because there is a period of time to learn PS more, also do their own UI, very ugly, The teacher said the first time to make this very good, then the teac
, SVG FONT for freeIcons V.3–free Downloadwebagency Free Icon Set | Icons WebLINEA:A free outline iconset featuring 730+ IconsRNS Pictografica CocinaWeather Icon FontSimple line Icons (free PSD, Webfont)90+ free Vector Line Icon FontRondo Social Icon FontMFG Labs Icon SetRelated articles that may be of interest to you
Web front end development and Design Essentials article highlights
20 Very beautiful free English handwriting fonts
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.