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

Convert CSS to SCSS / SASS #16

Open
vcsjones opened this issue Oct 5, 2016 · 0 comments
Open

Convert CSS to SCSS / SASS #16

vcsjones opened this issue Oct 5, 2016 · 0 comments

Comments

@vcsjones
Copy link
Member

vcsjones commented Oct 5, 2016

The CSS is simple but using SCSS would make it look better. For example, this:

nav {
    background-color: black;
    display: block;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    padding: 15px;
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    font-weight: normal;
    font-size: 12px;
}

nav ul li a:hover {
    background-color: #333;
}

could be better organized into this:

nav {
    background-color: black;
    display: block;
  ul {
    list-style-type: none;

    li {
      display: inline-block;

      a {
          padding: 15px;
          display: inline-block;
          text-decoration: none;
          color: #FFF;
          font-weight: normal;
          font-size: 12px;

          &:hover {
            background-color: #333;
          }
      }
    }
  }
}
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

No branches or pull requests

1 participant