2012-05-04 92 views
4

我使用Twitter的引導標籤,我想只加載需要對它們的CSS,我應該怎麼加載?現在,我使用我應該使用twitter bootstrap選項卡包含多少文件?

@import "reset.less"; 

    // Core variables and mixins 
    @import "variables.less"; // Modify this for custom colors, font-sizes, etc 

    @import "mixins.less"; 

    // Grid system and page structure 
    //@import "scaffolding.less"; 
    //@import "grid.less"; 
    //@import "layouts.less"; 

    // Base CSS 
    @import "type.less"; 
    //@import "code.less"; 
    //@import "forms.less"; 
    //@import "tables.less"; 

    // Components: common 
    //@import "sprites.less"; 
    //@import "dropdowns.less"; 
    @import "wells.less"; 
    //@import "component-animations.less"; 
    //@import "close.less"; 

    // Components: Buttons & Alerts 
    @import "buttons.less"; 
    //@import "button-groups.less"; 
    //@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less 

    // Components: Nav 
    @import "navs.less"; 
    @import "navbar.less"; 
    //@import "breadcrumbs.less"; 
    //@import "pagination.less"; 
    //@import "pager.less"; 

    // Components: Popovers 
    //@import "modals.less"; 
    //@import "tooltip.less"; 
    //@import "popovers.less"; 

    // Components: Misc 
    //@import "thumbnails.less"; 
    //@import "labels.less"; 
    //@import "badges.less"; 
    //@import "progress-bars.less"; 
    //@import "accordion.less"; 
    //@import "carousel.less"; 
    @import "hero-unit.less"; 

    // Utility classes 
    @import "utilities.less"; // Has to be last to override when necessary 

我需要更多?

回答

2

我認爲這是不夠的,使用這些不太文件爲所有類型的資產淨值和標籤

navs.less, mixin.less, 

但是,這也取決於你的標籤的樣式,如果可能的話告訴我,造型

+0

它的標準造型http://twitter.github.com/bootstrap/javascript.html#tabs但我想youare權,這足以 –

+0

被別的關於引導兄弟? – Chandrakant

0

即使這老是回答,如果有人用一些谷歌搜索找到你真正需要的東西,如果你打算自己設計它們,下面是它。

.tab-content { 
    > .tab-pane { 
     display: none; 
     visibility: hidden; 
    } 
    > .active { 
     display: block; 
     visibility: visible; 
    } 
}