Skip to content

Convert CSS to SCSS / SASS #16

Description

@vcsjones

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;
          }
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions