Borders

Make a composition with CSS borders as the only visible elements using only properties covered with Position and Color. Properties should be assigned to otherwise blank DIVs (no content, no background) through class selectors, which is covered below. Name as default index.html (or whatever your server’s default is) and place in a folder called borders, online. Use starter HTML and CSS documents given below.

index.html & borderfunky.css

The rules

  1. In HTML, use only divs with no content (except a space).
  2. Use border properties!!!
  3. Use width & height.
  4. Use top, right, bottom, left.
  5. Use z-index.
  6. No other properties!
  7. You may give the body a background color, though.
  8. I will also permit nesting of elements, with inner elements set to a static position, if you can figure it out.
  9. Now, make something bewildering, or awesome!

There are no further instructions! Except, as with all else, it better be uploaded. Hint: If you don’t keep a space between the opening and closing div tags, the element will not display.

What you absolutely need to know

You will use class selectors to style the many divs in your HTML document. It works with a class attribute. See it here:

<div class="arbitrary"> </div>

Here “arbitrary” is just that—an arbitrary value you choose for the element. For our example, each one will need to be different! The corresponding CSS looks like this:

.arbitrary { border: 1px solid black; }

That little period . in front of the name you chose is what makes this work. It says: ❝Find any element that has this word in the class attribute.❞ That is why it is called a class selector; you will learn more selectors in the future, but just deal with this now.

Because of the wonderful things we does!

Discuss amongst ourselves

You have almost no time, but if you don’t cover all this as a group in brief comments, have mercy on your soul: → Where is there order and not? → Most ordered? How? Why? → Least ordered or orderly? How? Why? → Any moments in the set that could prove useful in the future? → Anything sublime? → Anything you just don’t know how?

 

6,308 Responses to “Borders”

  1. cartier love ring replica

    I purchased this trying to find a very good present for the the mom. Their headphone arrived in a breathtaking purple tied up package. This was a lookin present underneath all xmas tree!! On headphone in addition seemed perfect, but my mom is great bon…

  2. cartier juste un clou replica

    I acquired it trying to find a ideal present towards my personal mom. All headphone emerged in a perfect purple tied package. This was ideal hunting gifts below ones holiday tree!! That the headphone always seemed breathtaking, although our mama are gi…

  3. moncler outlet online

    I paid for it trying to find a great present for my mother. That the headphone arrived within a perfect purple tied container. This is the greatest searching gift underneath the particular christmas time tree!! All headphone additionally seemed perfect…

  4. cartier love ring replica

    I bought our trying to find a very good gift for my mama. That headphone arrived within a breathtaking purple tied up container. This is a searching present underneath that christmas tree!! Some sort of headphone and seemed stunning, then again the mom…

  5. cartier love ring replica

    I had gotten it headphonesto my personal mother of parents time, additionally she absolutely liked that! Its completely pretty headphonesas well as the stating regarding the card your will come in the box is very emotional!! And the premium of beads ar…

  6. Binary Options edge

    Borders ♥ Design for Information and Interaction on the Internet

  7. binary Options 2016

    Borders ♥ Design for Information and Interaction on the Internet

  8. cartier love bracelet replica

    I got our headphonesfor my mother towards parents day, as well as she completely adored they! It is really adorable headphonesand the saying on the card your comes inside container is very sentimental!! As well as the top quality of beads is ideal!

Leave a Reply

You must be logged in to post a comment.