Skip to content

Added CSS and HTML for basic Tab component#8

Merged
damianmuti merged 4 commits intomasterfrom
farza/20160408/AddedBasicCSSTabs
Apr 12, 2016
Merged

Added CSS and HTML for basic Tab component#8
damianmuti merged 4 commits intomasterfrom
farza/20160408/AddedBasicCSSTabs

Conversation

@arzafran
Copy link
Copy Markdown
Contributor

@arzafran arzafran commented Apr 8, 2016

Basic tab component


.tabs {
margin: $base-spacing * 2;
.tab {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a good practice, to improve legibility, you should leave a breakline between last property and new indented class definition.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, it's the prettify that auto-indents like this, i'll configure it to breakline between last property and new indented class definition.

@lcalvino
Copy link
Copy Markdown
Contributor

👍

This is an almost JS-free Tab component that takes
advantage of :target event to display tabs content

// Usage
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These kind of comments go with 3 slashes

/// Comment

This is for further SassDoc integration :)

@damianmuti
Copy link
Copy Markdown
Contributor

Great job, Fran. This is looking great!

@damianmuti damianmuti merged commit 8436961 into master Apr 12, 2016
@arzafran arzafran deleted the farza/20160408/AddedBasicCSSTabs branch January 20, 2017 14:46
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.

3 participants