TOPIC 3 (MIDTERM) Flashcards
(73 cards)
are used to define the background effects for elements.
CSS Backgrounds
specifies the background color of an element.
background-color property
specifies an image to use as the background of an element. By default, the image is repeated so it covers the entire element. repeats an image both horizontally and vertically. If the image is repeated only horizontally
background-image property
Showing the background image only once is also specified by the ________
background-repeat property
To specify that the background image should be fixed (will not scroll with the rest of the page), use the _________
background-attachment property
its specify the position of the background image, so that it does not disturb the text too much
background-position property
To make the background fit into the screen you can use percentage in the value of ________
background-size property
To shorten the code, it is also possible to specify all the background properties in one single property. This is called a ____
shorthand property
allow you to specify the style, width, and color of an element’s border.
CSS Borders
specifies what kind of border to display.
Border Style
what kind of border to display Defines a dotted border.
dotted
what kind of border to display Defines a dashed border.
dashed
what kind of border Defines a solid border.
solid
What kind of border defines a double border
double
What kind of border Defines a 3D grooved border. The effect depends on the border-color value.
groove
What kind of border Defines a 3D ridged border. The effect depends on the border-color value.
ridge
What kind of border Defines a 3D inset border. The effect depends on the border-color value.
inset
What kind of border Defines a 3D outset border. The effect depends on the border-color value.
outset
What kind of border Defines no border.
none
What kind of border Defines a hidden border.
hidden
specifies the width of the four borders. The ________ can be set as a specific size (in px, pt, cm, em, etc) or by using one of the three predefined values: thin, medium, or thick
CSS BORDER WIDTH
can have from one to four values (for the top border, right border, bottom border, and the left border)
CSS Border Color
is used to add rounded borders to an element
The border-radius property
allows you to specify an image to be used instead of the normal border around an element.
border-image property