From ff8b12851ebe1c299b07743d8fbbf267960b3027 Mon Sep 17 00:00:00 2001 From: "elizabeth.knoll" Date: Tue, 7 Apr 2020 19:43:08 -0500 Subject: [PATCH] love --- elizabeth-knoll.text.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 elizabeth-knoll.text.txt diff --git a/elizabeth-knoll.text.txt b/elizabeth-knoll.text.txt new file mode 100644 index 000000000..d6f45cd04 --- /dev/null +++ b/elizabeth-knoll.text.txt @@ -0,0 +1,30 @@ +https://codepen.io/MissChiefGrey/pen/ZEbzpXv + +1. What is the difference between an inline element and a block element? + +- inline element text goes within the same line there is no sperate sheet. You can't put block elements inside inline elements. inline elements do not need a new line to exist. Block elements require the use of another line most of the time. + + +2. What happens when an element is positioned absolutely? + +- Fixed. The top, right, bottom, and left properties specify offsets from the edges of the element's containing block. + + +3. How do I make an element take up only the amount of space it needs but also have the ability to give it a width? + +- By using the CSS box model: border;margin;padding;width;heights;radius + + +4. Name 3 elements that are diplay block by default, 2 elements that are display inline by default and 1 element that is display inline-block by default + +- Block:

,

,
/