小程序 富文本自適應屏幕_自適應文本:跨屏幕尺寸構建可讀文本

小程序 富文本自適應屏幕

Many of you may already know about responsive web design. Cited from Wikipedia, responsive web design (RWD) is an approach to web design that makes web pages render well on a variety of devices and windows or screen sizes. The responsive text itself is an approach to make texts on a web page that can be read well on a variety of devices and screen sizes. It does not only mean changing size on a different screen. It covers good readability and cohesion between text and elements that surround it. The first web page itself is a full-text page.

你們中的許多人可能已經了解響應式Web設計。 響應式網頁設計 ( RWD )被Wikipedia引用,是一種網頁設計方法,可使網頁在各種設備和窗口或屏幕尺寸上都能很好地呈現。 響應式文本本身是一種使網頁上的文本易于在各種設備和屏幕尺寸上閱讀的方法 。 這不僅意味著在其他屏幕上更改尺寸。 它涵蓋了文本與周圍元素之間的良好可讀性和內聚性。 第一個網頁本身就是全文頁面。

Image for post
The first website. Source: http://info.cern.ch/hypertext/WWW/TheProject.html
第一個網站。 資料來源: http : //info.cern.ch/hypertext/WWW/TheProject.html

It is undeniable that text is one of the main components of the web, even until today. Bearing that in mind, there are some things that may help you to provide good responsive text.

不可否認,直到今天,文本仍是Web的主要組成部分之一。 請記住,有些事情可能會幫助您提供優質的響應文本。

選擇字體 (Choosing Font)

There are thousands of fish in the sea. And so are fonts for the web. You can browse and download many appealing fonts on the internet. This freedom also comes with some drawbacks. Using custom font on your website means adding the extra job of HTTP request of getting the font. While loading the font, the browser may show Flash of Unstyled Text (FOUT) and Flash of Invisible Text (FOIT).

海里有成千上萬的魚。 網絡字體也是如此。 您可以在互聯網上瀏覽和下載許多吸引人的字體。 這種自由還帶有一些缺點。 在您的網站上使用自定義字體意味著添加獲取字體的HTTP請求的額外工作。 加載字體時,瀏覽器可能會顯示未樣式化文本Flash (FOUT)和不可見文本Flash (FOIT) 。

You can always use the web-safe font to provide maximum compatibility between browsers/operating systems. There are some steps you can follow to avoid FOUT/FOIT.

您始終可以使用網絡安全字體來提供瀏覽器/操作系統之間的最大兼容性。 您可以遵循一些步驟來避免FOUT / FOIT。

1.僅包含您需要的字體 (1. Include Only the Font You Need)

Include only font weight and font style that you need. One example if you use Google Font CDN, you will be given choices of what font you want to include.

僅包括所需的字體粗細和字體樣式。 一個示例,如果您使用Google Font CDN ,則可以選擇要包括的字體。

Image for post
You can choose what weight and style of the font to be included
您可以選擇要包含的字體的粗細和樣式

If you choose to add the font in your dedicated server, use WOFF or WOFF2 format.It has a smaller size than other formats. It is compressed in gzip format and optimized for the web. The catch is IE8 below doesn’t support it. It should not be a problem since Microsoft itself is moving to Edge.

如果您選擇在專用服務器中添加字體,請使用WOFFWOFF2格式,它的大小小于其他格式。 它以gzip格式壓縮并針對Web進行了優化。 問題是下面的IE8不支持它。 由于Microsoft本身正在遷移到Edge,所以這應該不是問題。

Tip: If you’re making a site that uses small type, the Reading Edge font families may be suitable for you.

提示:如果您要創建使用小型字體的網站,則Reading Edge字體系列可能適合您。

2.準備后備組合 (2. Prepare Fallback Combinations)

Image for post

In case if the font can not be loaded (e.g., CDN server is down or not available in the device), the browser will try to load the font you specified next. This is an example of using Arial (and next is default Sans-Serif device’s font) as the fallback font for Roboto. Below GIF shows how FOUT happens if the fallback font is loaded before the main font.

如果無法加載字體(例如CDN服務器已關閉或設備中不可用),瀏覽器將嘗試加載您接下來指定的字體。 這是使用Arial(下一個是默認的Sans-Serif設備的字體)作為Roboto的后備字體的示例。 GIF下面顯示了如果在主字體之前加載后備字體,FOUT的發生方式。

You can see how the content is shifted
您可以看到內容如何轉移

It is quite hard to find a proper fallback font. You can use this font matcher website to check which font can be a suitable fallback and tinker with its property. The purpose is to reduce layout shifting when FOUT happens. I changed the Arial font-weight to 500 and letter-spacing to 0.1px.

很難找到合適的后備字體。 您可以使用此字體匹配器網站來檢查哪種字體可以作為合適的后備和修補屬性。 目的是減少發生FOUT時的布局偏移。 我將Arial font-weight更改為500,并將letter-spacing更改為0.1px。

Better, right?
好一點吧?

3.預加載字體 (3. Preload Your Font)

By default, the font was downloaded after the browser sees any CSS files that refer to it (by using @font-face attribute). To accommodate this, you can preload your font. Most of the browsers have supported it.

默認情況下,在瀏覽器看到任何引用該字體CSS文件后(使用@font-face attribute )下載了該字體。 為此,您可以預加載字體。 大多數瀏覽器都支持它。

Image for post
Preloading font syntax using the link tag
使用鏈接標簽預加載字體語法

<link rel="preload" as="font ...> will inform the browser that the resource should be fetched as soon as possible and tells the browser that the resource is a font (so it can set proper prioritization).

<link rel="preload" as="font ...>會通知瀏覽器應盡快獲取資源,并告訴瀏覽器該資源是字體(以便可以設置適當的優先級)。

If you are using a CDN, it is suggested to use <link rel=”preconnect”>. Because it can be tricky to match the font version provided by CDN and the one you use in the CSS.

如果使用CDN, 建議使用<link rel=”preconnect”> 因為要匹配CDN提供的字體版本和CSS中使用的字體版本可能會比較棘手。

選擇您的字體基本大小 (Choose Your Font Base Size)

You have picked your font, then what?

您選擇了字體,然后呢?

It’s time to choose your font base size. Font base size is the font size for body content. In determining the base size, you must consider the platform (desktop/mobile) and the type of the web page(Text-Heavy Page/Interaction-Heavy Page).

現在是時候選擇字體的基本大小了。 字體基本大小是正文內容的字體大小。 在確定基本大小時,必須考慮平臺(臺式機/移動設備)和網頁的類型(“文本為主”頁面/“交互為主”頁面)。

大量文字的頁面 (Text-Heavy Pages)

Text-heavy pages, e.g., news, blogs, articles, etc. Medium and Wikipedia are the example websites. In this kind of page, the main thing that the user does is read. Only little interaction is available on the page, maybe only clicking a link.

大量文本頁面,例如新聞,博客,文章等。Medium和Wikipedia是示例網站。 在這種頁面中,用戶要做的主要事情是閱讀。 頁面上只有很少的交互作用,也許只是單擊鏈接。

If you’re making a website for desktop and mobile, using a minimum of 16px font size is a good start. That is the default font size on most browsers. But, don’t rely only on that. Users can change the default setting for font size, and some browsers like Opera Mini or Android Webview arent using 16px as default. Don’t be afraid to use a larger size. Several websites even use 20+px size, like Medium (21px).

如果你正在做桌面和移動網站,使用最小16px的字體大小是一個良好的開端。 那是大多數瀏覽器的默認字體大小。 但是,不要僅僅依賴于此。 用戶可以更改字體大小的默認設置,某些瀏覽器(例如Opera Mini或Android Webview arent)使用16px作為默認值。 不要害怕使用更大的尺寸。 幾個網站甚至使用20 + px的大小,例如中(21px)。

When developing for mobile, make sure you read the body text on an actual device. You’ll want to make sure the text is readable like you would be seeing on a well-printed book.

為移動設備開發時,請確保您在實際設備上閱讀了正文。 您需要確保文本可讀性好,就像在印刷良好的書上看到的一樣。

重互動頁面 (Interaction-Heavy Page)

On this kind of page, the user will encounter more interactivity. Clicking dropdown, editing list of items, input typing, etc. You may find this on Facebook timeline, Google Calendar, or Marketplace site.

在這種頁面上,用戶將遇到更多的交互性。 單擊下拉列表,編輯項目列表,輸入類型等。您可以在Facebook時間軸,Google日歷或Marketplace網站上找到此內容。

Text is not the main thing here, but still an important part of the page. You may use a smaller font size than 16px for the long text. For example, the Twitter website uses 15px on the tweet body.

文字不是這里的主要內容,而是頁面的重要部分。 對于長文本,您可以使用小于16px的字體。 例如,Twitter網站在推文正文上使用15px。

Tip: Use minimal 16px for input text size on iOS Safari. Input with font size less than 16px will make the browser zooms the page.

提示:在iOS Safari上輸入的文字大小至少應為16px。 字體大小小于16像素的輸入將使瀏覽器縮放頁面。

維持類型量表 (Maintaining Type Scale)

A type scale is a series of type sizes that correlate to each other because they increase by the same ratio. You have the base size. The next step is to scale it by using some ratio. This will determine the font size for header, title, subtitle, body, and so on.

類型標度是一系列相互關聯的類型尺寸,因為它們以相同的比率增加。 您有基本尺寸。 下一步是使用一定比例縮放它。 這將確定標題,標題,字幕,正文等的字體大小。

Just like the interval in music, there were already predefined typography ratio for you to use. You can see the list and play around with it and find which is the best type scale for your site.

就像音樂中的間隔一樣,已經有預定義的排版比例供您使用。 你可以看到列表和玩它,發現它是為您的網站最好的類型規模。

Image for post
Example of using the Perfect Fourth (1.333) scale
使用完美四度(1.333)量表的示例

Type scale may affect more on a text-heavy page.

字體縮放可能會在文本較多的頁面上產生更大的影響。

Responsively, you can set a different base size for different breakpoints with the same scales. Base size on the next breakpoint (horizontally) will follow the same scales like the one we’re using for each text style, e.g., H1, H2, H3, H4, H5, H6, p, and so on (vertically)

作為響應,您可以為具有相同比例的不同斷點設置不同的基本大小。 下一個斷點的基本大小(水平)將遵循與我們用于每種文本樣式相同的比例,例如,H1,H2,H3,H4,H5,H6,p等(垂直)

Image for post
Perfect Fourth (1.333) scale for each text style and between breakpoints.
每種文本樣式以及斷點之間的完美四度(1.333)比例。

Or, set a different scale horizontally and vertically. For instance, using Perfect Fourth (1.333) for different text style, and using Major Third (1.250) for different breakpoints.

或者,水平和垂直設置不同的比例。 例如,對不同的文本樣式使用完美四分(1.333),對不同的斷點使用主要三分(1.250)。

It also never hurts to know how widely used design systems handle typography, like Material Design Type System.

知道諸如材料設計類型系統之類的廣泛使用的設計系統如何處理印刷版也毫不費力。

Don’t get stuck on this. The scale only acts as guideline. You can adjust your type scale to whatever looks good on your website.

不要卡在這。 量表僅作為指導。 您可以將字體比例調整為網站上看起來不錯的尺寸。

使用em或rem (Use em or rem)

One of the best practices to make the responsive text on the web is to use relative units like rem and em. From the type scale that we have defined, we can see the size inem on the right side of its px unit.

在網絡上制作自適應文本的最佳實踐之一是使用remem類的相對單位。 根據我們定義的類型比例,我們可以在其px單位右側看到em的大小。

The em is a unit which equals to currently specified font-size. Using this in CSS property means its value is relative to the font-size of the element. Using 2em means 2 times the size of the current font.

em是一個等于當前指定的字體大小的單位。 在CSS屬性中使用this表示其值相對于元素的字體大小。 使用2em表示當前字體大小的2倍。

Image for post
Example of using em unit on padding and margin
在填充和邊距上使用em單位的示例

If em is used for font-size property, then the value is relative to the parent font-size.

如果em用于font-size屬性,則該值相對于父字體大小。

Image for post

The rem is more simple than em. It equals to root (<html>) font-size. Using this on CSS properties means its value is relative to root font-size.

remem更簡單。 它等于根( <html> )字體大小。 在CSS屬性上使用此值表示其值與根字體大小有關。

Image for post

Then, when do we use em ? When do we use rem ?

那么,什么時候使用em呢? 什么時候使用rem

The rem and em have their plus and minus. Let’s say we want to create this view.

remem具有正負號。 假設我們要創建此視圖。

Image for post

The HTML will be like this.

HTML將像這樣。

Image for post

This is how we achieve it using only em .

這就是我們僅使用em實現它的方式。

Image for post

Using all em will make the spacing to adjust relatively with its element font size. This is good. So that when we or user change the font size, the spacing will follow. Now, what happens if we change the horizontal margin of p to 1em?

使用所有em將使間距根據其元素字體大小進行相對調整。 很好 這樣,當我們或用戶更改字體大小時,間距就會隨之變化。 現在,如果將p的水平邊距更改為1em什么?

Image for post
This happens
有時候是這樣的

Uh oh! Header’s left padding is not aligned with p . If we still want to force it using only em , we can change the padding into 0.3em 0.25em . This make extra work need to be done if we want to change p padding again later. A better way is to use rem for horizontal padding.

哦! 標頭的左填充與p不對齊。 如果我們仍然希望僅使用em強制執行此操作,則可以將padding更改為0.3em 0.25em 。 如果我們以后要再次更改p填充,則需要做額外的工作。 更好的方法是使用rem進行水平填充。

Image for post

This will align the left spacing for the header and the paragraph. The horizontal spacing is relative to the root font-size.

這將使標題和段落的左側間距對齊。 水平間距是相對于根字體大小的。

The rule here is to use em for the property that needs to scale relative to its font-size and use rem for the rest. By using the relative unit (em and rem) instead of px, we get the benefit of responsive spacing based on font-size. So when the user changes the default font size, our website will scale responsively.

這里的規則是將em用于需要相對于其font-size進行縮放的屬性,而將rem用于其余部分。 通過使用相對單位( emrem )而不是px ,我們可以獲得基于字體大小的響應間距的好處。 因此,當用戶更改默認字體大小時,我們的網站將響應縮放。

Tip: Relative unit in CSS is not only em and rem . You can see the list here.

提示:CSS中的相對單位不僅是emrem 。 您可以在此處查看列表。

線長和線高 (Line Length and Line Height)

Reading includes horizontal and vertical motion. Reading text that too long may cause fatigue. It is found out that the ideal length is 45–75 characters (including spaces and punctuation). There is a good article discussing why would it be like that.

閱讀包括水平和垂直運動。 閱讀時間過長可能會導致疲勞。 發現理想的長度是45-75個字符(包括空格和標點符號)。 有一篇很好的文章討論了為什么會這樣。

I’ll just discuss how we could achieve that. The first thing is a bookmarklet by Chris Coyier. The bookmarklet is to colorize text between 45 and 75 characters. With the highlight, you can adjust your font size or the element spacing (padding and margin).

我將討論如何實現這一目標。 首先是Chris Coyier制作的小書簽 。 小書簽將為45至75個字符之間的文本著色。 使用高亮顯示,可以調整字體大小或元素間距(填充和邊距)。

Image for post
It highlights character 45 to 75
突出顯示字符45至75

And how about vertical motion? The line that is too tight might make you hard to read. The line that is too wide might cause the content to lose cohesion.

垂直運動又如何呢? 太緊的線可能會使您難以閱讀。 線條太寬可能導致內容失去凝聚力。

You can adjust the line-height to accommodate this. To set it around 150% of font-size is a good rule of thumb.

您可以調整line-height以適應此情況。 最好將其設置為字體大小的150%

Image for post
Comparison between using line-height 1.5em and default line-height (1em)
比較行高1.5em和默認行高(1em)

If you’re lazy to handle it by yourself, the FlowType library may help you.

如果您懶于自己處理它,則FlowType庫可能會為您提供幫助。

其他注意事項 (Other Things to Keep in Mind)

These are other things that you may need to know regarding responsive web typography.

關于響應式Web排版,您可能還需要了解這些其他信息。

文本光柵化器和抗鋸齒。 (Text rasterizer and antialiasing.)

Different browsers may render a font differently. Even the same browser on different OS (e.g., macOS and Windows) may render font differently. It happens because each OS may have different core text-rendering engine. Bram Stein (Netmag) wrote an article that explains it more deeply. There’s also a library called Type Rendering Mix you can use to provide consistent text rendering.

不同的瀏覽器可能會呈現不同的字體。 甚至在不同OS(例如macOS和Windows)上的同一瀏覽器也可能呈現不同的字體。 發生這種情況是因為每個OS可能具有不同的核心文本呈現引擎 。 Bram Stein ( Netmag )寫了一篇文章 ,對它進行了更深入的解釋。 還有一個名為Type Rendering Mix的庫,可用于提供一致的文本呈現。

燈塔整合 (Lighthouse Integration)

Lighthouse will flag pages with font sizes that are too small. Lighthouse flags pages where its 60% or more text that has a font size smaller than 12 px.

Lighthouse將標記字體大小過小的頁面。 Lighthouse會標記其字體大小小于12像素的60%或更多文本的頁面。

Image for post
https://web.dev/font-size/)https://web.dev/font-size/ )

玩耍 (Play Around)

Designing a responsive text is not just about following the guideline or pattern. Of course, what we’ve discussed here will be useful in determining the best typography structure for your website. If some scale doesn’t suit your website content, tweak it.

設計響應文本不僅要遵循準則或模式。 當然,我們在這里討論的內容對于確定網站的最佳字體結構將很有用。 如果某些規模不適合您的網站內容,請對其進行調整。

Balance the font-size, line-height, and spacing around them. Measure and try to put it in the actual layout. There are many things to consider like screen size, operating system, browsers, etc. Try your text on various devices, especially on mobile. Don’t be afraid to break the rule, and use the best text structure for your website.

平衡字體大小,行高和間距。 測量并嘗試將其放置在實際布局中。 您需要考慮許多因素,例如屏幕大小,操作系統,瀏覽器等。請在各種設備(尤其是在移動設備上)上嘗試輸入文字。 不要害怕違反規則,并為您的網站使用最佳的文本結構。

Thank you for reading!

感謝您的閱讀!

翻譯自: https://uxdesign.cc/responsive-text-56af87ba4586

小程序 富文本自適應屏幕

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/275515.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/275515.shtml
英文地址,請注明出處:http://en.pswp.cn/news/275515.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Vue、React 之間如何實現代碼移植?

大家好&#xff0c;我是若川。面對前端最火的兩個框架&#xff0c;學 React 還是 Vue &#xff1f;這可能是每個前端人都曾糾結過的問題。不過&#xff0c;現在你不用糾結了——因為很多公司都是兩個框架都有大量的應用&#xff0c;取決于不同團隊的技術選型&#xff0c;特別是…

linux mariadb 亂碼,配置mariadb遠程訪問權限,解決數據庫亂碼問題

配置mariadb遠程訪問權限&#xff1a;1)登錄數據庫:# mysql -uroot -p2)配置授權數據庫用戶遠程訪問權限&#xff0c;%表示所有遠程IP&#xff0c;也可以指定IP。WITH GRANT OPTION表示mysql數據庫的grant表中重新加載權限數據&#xff1a;GRANT ALL PRIVILEGES ON *.* TO 用戶…

平面設計師和ui設計師_游戲設計師的平面設計

平面設計師和ui設計師Design is a very ancient practice, but graphic design really found its core principles post World War One. Games are also very ancient but video games are still finding their feet. I think graphic design has a few things to teach people…

從零開發一個命令行腳手架工具 等

大家好&#xff0c;我是若川。今天周末&#xff0c;話不多說&#xff0c;這一次花了幾小時精心為大家挑選了20余篇好文&#xff0c;供大家閱讀學習。本文閱讀技巧&#xff0c;先粗看標題&#xff0c;感興趣可以都關注一波&#xff0c;絕對不虧。前端宇宙小編就職于某大廠&#…

linux的HAL庫函數,STM32 HAL庫 IIC 協議庫函數

/* 第1個參數為I2C操作句柄第2個參數為從機設備地址第3個參數為從機寄存器地址第4個參數為從機寄存器地址長度第5個參數為發送的數據的起始地址第6個參數為傳輸數據的大小第7個參數為操作超時時間 */HAL_I2C_Mem_Write(&hi2c2,salve_add,0,0,PA_BUFF,sizeof(PA_BUFF),0x10)…

pku acm 2140 Herd Sums http://acm.pku.edu.cn/JudgeOnline/problem?id=2140

2140代碼短小精悍&#xff1a;#include<stdio.h> int main() { int cnt0,i; long s; scanf("%ld",&s); for(i1;(i1)*i/2<s;i)if((s-(i-1)*i/2)%i0)cnt; printf("%d\n",cnt); return 0; }轉載于:https://www.cnblogs.com/Chinese-Coder-C…

java合成海報的工具類

2019獨角獸企業重金招聘Python工程師標準>>> package io.renren.common.utils;import cn.hutool.core.lang.Console; import io.renren.modules.oss.cloud.OSSFactory;import javax.imageio.ImageIO; import javax.imageio.stream.ImageOutputStream; import java.a…

a說b說謊b說c說謊說d說_說謊的眼睛及其同伙

a說b說謊b說c說謊說d說The eye is a complex and temperamental organ. By the end of this article, designers will have a better understanding of how the eye works with the brain, how it deconstructs images that the brain stitches back up again, and how the two…

一名運營,自學一年前端,成功入職杭州某獨角獸企業,他的面試經驗和學習方法等分享...

大家好&#xff0c;我是若川。這是我的微信群里小伙伴年年 的投稿。他是19年畢業&#xff0c;之前做的是運營相關的工作&#xff0c;在我的交流群里非常活躍&#xff0c;自學一年前端&#xff0c;目前成功轉行入職杭州一家獨角獸企業。相信他的文章能帶給大家一些啟發和激勵。0…

linux下svn relocate,如何進行svn?relocate?操作

1。進入工作復本&#xff03;> cd ~/test2。查看倉庫地址(URL)&#xff03;> svn info路徑&#xff1a;.地址(URL)&#xff1a;http://192.168.28.1/repos/test檔案庫 UUID&#xff1a;a81f9bed-3506-0410-b369-e50476f75162修訂版&#xff1a;44節點種類&#xff1a;目錄…

教你怎么買虛擬空間(轉)

虛擬空間是什么?經常聽到站長們在群里問&#xff0c;哪里的虛擬空間好?哪里的虛擬空間性能好?哪里的虛擬空間便宜?虛擬空間是當今IDC行業的一個重要銷售產品&#xff0c;虛擬空間也是中國站長們建設網站中最常應用的網站載體。各種數據說明&#xff0c;虛擬空間的好壞能影響…

React筆記-事件分發

事件分發 之前講述了事件如何綁定在document上&#xff0c;那么具體事件觸發的時候是如何分發到具體的監聽者呢&#xff1f;我們接著上次注冊的事件代理看。當我點擊update counter按鈕時&#xff0c;觸發注冊的click事件代理。 function dispatchInteractiveEvent(topLevelTyp…

百度指數可視化_可視化指數

百度指數可視化Abstract:– Analysis of the visual representations of exponentials.– Proposals to solve current visualization issues.– Call to discussion to come up with a better visual representation convention.抽象&#xff1a; –分析指數的視覺表示形式。…

qemu+linux+x86+64,kvm 內部錯誤:無法找到適合 x86_64 的模擬器

本文將為您描述kvm 內部錯誤&#xff1a;無法找到適合 x86_64 的模擬器,教程操作方法:0x00 問題安裝完 KVM 之后&#xff0c;啟動管理工具報錯&#xff1a;內部錯誤&#xff1a;無法找到適合 x86_64 的模擬器于是查看 libvirtd 服務狀態&#xff0c;查看到以下內容&#xff1a;…

阿里云謙大佬:時間精力有限的情況下如何高效學習前端?

大家好&#xff0c;我是若川。最近組織了源碼共讀活動1個月&#xff0c;200人&#xff0c;一起讀了4周源碼&#xff0c;歡迎加我微信 ruochuan12 進群參與。今天分享一篇阿里云謙大佬的文章。昨天在群里也有小伙伴說到&#xff1a;大佬們是需要什么學什么&#xff0c;新手一般是…

JQuery小記

訪問dom元素 $代表整個dom tree $("#content") $("p") $("li .red") 字符串轉換為json對象 $.parseJSON ajax $.ajax({type: "post",url: "GetUser.ashx",success: function (data) {var t "";var json $.pars…

React個人整理

React基礎//ReactDOM.render(reactWhat,domWhere)在瀏覽器中渲染應用的一種途徑 //React.DOM表示預定義好的HTML元素集合 //React.DOM.h1(attributes,children)表示一個預定義的React 組件 //h1()第一個參數接收一個對象&#xff0c;用于指定該組件的任何屬性&#xff08;比如i…

sketch鋼筆工具_Sketch和Figma,不同的工具等于不同的結果

sketch鋼筆工具We like to compare the difference between various design programs and debate about which one is the most powerful. But we often forget to reflect on how using one of these tools is impacting our product. A powerful artist would say that he ca…

程序下載

Zaxis終端前置機 版 本下 載特 性1.20.1104.102ZaxisSetup.rar 分類: 程序下載轉載于:https://www.cnblogs.com/baijinlong/archive/2011/05/13/2045263.html

提升效率的Vue組件開發和實戰技巧

大家好我是若川。現在的大前端時代&#xff0c;是一個動蕩紛爭的時代&#xff0c;江湖中已經分成了很多門派&#xff0c;主要以Vue&#xff0c;React還有Angular為首&#xff0c;形成前端框架三足鼎立的局勢。Vue在前端框架中的地位就像曾經的 jQuery&#xff0c;由于其簡單易懂…