Git Product home page Git Product logo

html-css-group-ex-mar-20's Introduction

We will be reusing project files from last time.

Start by editing the index.html and style.css files in this repo. Add the style code at the end of the style.css file.

Add a style in style.css that:

  • adds a border to the section tag. Use id="main-section" for the section css selector.
  • adds padding 20 pixels to the section tag Apply this same style to the unordered list in the page. Use a class for this.

Add a style for h1, h2, h3, that:

  • adds a red border to them
  • aligns text to center

Add a style to the list items in the unordered list, that:

  • moves them 40 pixels to the right;
  • styles the links so they aren't underlined anymore
  • hides the cursor when user hovers on them

Add a div before the end of the section;

  • add two span tags inside this div, with text "Test text 1" and "Test text 2"
  • look at how they are displayed, before applying the next style.
  • change the display of these span tags to display block. How did they change?

Add a div before the end of the section;

  • add two div tags inside this div, with text "Div content 1" and "Div content 2"
  • change the height and width of the div blocks. What changed?
  • look at how they are displayed, before applying the next style.
  • change the display of these div tags to display inline. How did they change?
  • change the height again, to double the size. How did they change now?

Add a br and a button with text "Finish" before the end of the section tag.

  • style the button so that it's twice as big, and rotated 90 degrees. Hint: use transform translate

html-css-group-ex-mar-20's People

Contributors

doublemacro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.