国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > CSS > 正文

CSS代碼優化的兩個原因

2024-07-11 08:22:07
字體:
來源:轉載
供稿:網友

 為什么進行css代碼優化呢?

  好,有兩個原因。它可以幫助你變得更小的css文件大小和更好的寫的代碼。這個方法的優化工作實際,讓你決定你想要多少壓縮。從超壓(幾乎讀和編輯被人類)視覺愉悅。我喜歡這個標準設置,因為它會給你一個小的。
  
  另一個涼爽的特征是,它能幫助你用速記編碼。我絕不是一位專家在樣式表。我并不擁有所有的速記記方法(!)。對于那些你使用dreamweaver,就像我一樣,你會發現它喜歡用草書代碼。我的意思是相互獨立的角色的線。這能讓單調乏味的復制和粘貼它做一些小改變。很多東西可以變成一個線,如背景和邊界。
  
  所以你要優化的主要原因是,確保你的css文件都是干凈的。有一定的藝術形式在干凈、簡潔的代碼。我甚至沒有一個程序員,我能看到。我是一個藝術家,所以這個工具確實有助于提高速度。

 why css optimize?

  well for two reasons mainly. it helps you get smaller css file sizes and better written code. the way the optimizer works actually lets you decide how much compression you want. from super compressed (virtually unreadable and editable by a human being) to visually pleasing. i prefer the standard setting because it gives you a little of both.

  another cool feature is that it helps you with shorthand coding. i am by no means an expert at css. i do not have all the shorthand methods memorized (yet!). for those of you using dreamweaver, like myself, you'll find that it likes to use longhand code. by this i mean putting each seperate rule on it's own line. this can get tedious copying and pasting it make a small change. a lot of that stuff can get consolidated into one line, like backgrounds and borders.

  so your main reasons for wanting to optimize are to make sure your css files are clean. there is a certain art form in clean and concise code. and i'm not even a programmer and i can see that. i'm an artist, so this tool really helps speed things up.

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 九江市| 苏尼特右旗| 时尚| 沂源县| 曲麻莱县| 西青区| 六枝特区| 韶山市| 开原市| 云龙县| 阿鲁科尔沁旗| 宜君县| 广宗县| 大同市| 吉林省| 乌兰县| 抚松县| 鄯善县| 甘孜县| 喜德县| 繁昌县| 汕尾市| 长丰县| 河西区| 连云港市| 偏关县| 汽车| 凌海市| 新丰县| 广德县| 砚山县| 宁波市| 海林市| 许昌市| 岑巩县| 肥西县| 武汉市| 蓬莱市| 微山县| 海兴县| 郎溪县|