HTML How to Make a Website Styling Web Pages and Navigation Make a CSS Image Gallery

Kim Dallas
Kim Dallas
11,461 Points

why isn't this working?

it's different from the default colors

css/main.css
a {
  text-decoration: none;
}

#wrapper {
  max-width: 940px;
  margin: 0 auto;
}

#logo {
  text-align: center;
  margin: 0;
}

h1, h2 {
  color: #fff;
}

nav a {
  color: #fff;
}

nav a:hover {
  color: #32673f;
}

h1 {
  font-family: Changa One, sans-serif;
  font-size: 1.75em;
  font-weight: normal;
}
img { max-width:100%;
}
#gallery {
  margin:0;
  padding:0;
  list-style:none;
}
  #gallery li {
    float:left;
    width:45%;
    margin:2.5%;
    text-color:red;
    background-color:blue;
}

1 Answer