有乜HTML, CSS, and JS framework係用custom tag?

而唔係淨係識加class?

淨係用class既例子: bootstrap

而唔係淨係識加class?

淨係用class既例子: bootstrap
3ldk 發表於 2016-2-17 01:04



    正名叫 CSS framework   NOT JS Framework

https://en.wikipedia.org/wiki/CSS_frameworks

TOP

我只係直接copy boostrap index第一句
http://getbootstrap.com/

TOP

睇錯問題
用 Custom tag 例子

Google 出品:

Polymer
AngularJs
Angular2

Facebook 出品
React

其實仲有好多主流 JS  framework 都會砌 Component ( custom tag )

TOP

class 同tag 本是同根生, 你用coding都可以將button 改到變<md-button>
https://material.angularjs.org/latest/demo/button
我覺得全部用曬html5 tag, customize 就用class
咁樣起碼轉css framework 都淨係轉class name就得, 唔洗轉埋tag
同埋標準html5 tag, search engine 睇得明

TOP

class 同tag 本是同根生, 你用coding都可以將button 改到變

我覺得全部用曬html5 tag, customize 就用clas ...
twaiho2003 發表於 2016-2-17 10:05



聽落又好似有道理
但人地講既又好似有道理
http://www.html5rocks.com/en/tut ... nts/customelements/
感覺兩邊都好有道理, 而家變左好難決擇

TOP