开发者

what is the difference between CSS Frameworks and CSS Grids

Please tell me the difference between CSS Frameworks and CSS Gr开发者_运维问答ids.


CSS Framework can also be CSS Grid Framework. CSS Grid Frameworks are used for building CSS Layout. There are some frameworks who have other purpose then building layouts, example Hartija http://code.google.com/p/hartija/ is build for web printing.

Also the word "Framework" or "CSS Framework" is not precisely defined, there is one part of the CSS Community who believes that CSS Framework can be only CSS Layout system and the other part refers to any CSS Library.


  • CSS Grid is specification (set of rules which browser has to follow and understand). It's like a language between you and browser.

  • CSS Framework is like a wrapper, which includes set of specification,like CSS Grids, Flexbox, CSS2/3 and so on, which provide additional features. For example: build a layout by grid. CSS Frameworks have own syntax, but actually it's just syntax sugar, which uses CSS specification the the code anyway.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜