Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom class for panels #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add custom class for panels #85

wants to merge 1 commit into from

Conversation

amitozdeol
Copy link

Each panel can have it's own class.
If tabs have a class name starting with 'panel', then that class will also get added to the panel.

Ex-

.panelred-important{
      color: red important!;
}

Desktop - 
<div class="tab-content hidden-xs">
    <div class="tab-pane fade  in active  panelred-important">
        <h3>Tab content</h3>
    </div>
</div>

Mobile - 
<div class="panel-group visible-xs" id="Yp9lW-accordion">
     <div class="panel panel-default panelred-important">
           <div class="panel-heading"> ... </div>
           <div class="panel-body"> 
                <h3>Tab content </h3>
           </div>   
     </div>
</div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant