styles.css - TODO New Rule Select the body element and set the font family to"Helvetica Neue Arial Helvetica sans-serif body cfw font-family"Helvetica

styles.css - TODO New Rule Select the body element and set...

This preview shows page 1 - 2 out of 3 pages.

/* TODO New Rule: Select the body element and set the font family to "Helvetica Neue", Arial, Helvetica, sans-serif */ body { font-family: "Helvetica Neue", "Arial", "Helvetica", "sans-serif"; } /* TODO New Rule: Select the h1 that is the child of a header element and also select the footer at the same time. Set the padding to 5px, the text color to #2034C0 and the background color to #A6A6A6. */ footer, header > h1 { padding: 5px; color: #2034C0; background-color: #A6A6A6; } /* TODO New Rule: Select all h3 elements and set the width to 410px, all margins to 0, the background color to #203C40, and the text color to white. */ h3 { width 410px; margin: 0; background-color: #203C40; color: white; } /* TODO New Rule: Select all p elements and set the line height to 1.4em. */ p { line-height: 1.4em; } /* TODO New Rule: Select all section elements and set the border to a solid one pixel border with the color #203C40, the bottom margin to 10px, and the width to 410px. Float them left and set the right margin to 20px.*/ section { border: solid 1px #203C40; margin-bottom: 10px; width: 410px; float: left; margin-right: 20px; }
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '17

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes