CSS Properties Flashcards Preview

Web Development > CSS Properties > Flashcards

Flashcards in CSS Properties Deck (66)
Loading flashcards...
1

css property: font-family

let's you change the font of the elements text content

2

css property: color

changes the color of text

3

css property: background-color

sets the background color of an element

4

css property: padding

sets the padding space on all sides of an element

5

css property: padding-bottom

sets the height of the padding area at the bottom of an element

6

css property: padding-left

sets the padding space required on the left side of an element

7

css property: padding-right

sets the padding space required on the right side of an element

8

css property: padding-top

sets the padding space required on the top of an element

9

css property: list-style-type

specifies the appearance of a list item element

10

css property: text-indent

specifies how much horizontal space should be left before the beginning of the first line of the text content of an element

11

css property: margin

sets the margin for all four sides

12

css property: margin-bottom

sets the margin space required on the bottom of an element

13

css property: margin-left

sets the margin space required on the left of an element

14

css property: margin-top

sets the margin space required on the top of an element

15

css property: margin-right

sets the margin space required on the right of an element

16

css property: text-align

describes how inline content like text is aligned in its parent block element

17

css property: font-style

lets you select italic or oblique faces within a font-family

18

css property: font-weight

specifies the weight or boldness of the font

19

css property: letter-spacing

specifies spacing behaviour between text characters

20

css property: line-height

specifies the minimum height of line boxes within the element

21

css property: text-decoration

sets the text formatting to underline, overline, line-through or blink

22

css property: text-transform

specfies how to capitalize an element's text

23

css property: word-spacing

specfies the spacing behaviour between tags and words

24

css property: font-stretch

selects a normal, condensed, or expanded face from a font

25

css property: text-shadow

adds shadows to text

26

css property: font-size

specifies the size of the font

27

css property: border

sets the border width, colour and line style

28

css property: border-width

sets the border width

29

css property: border-color

sets the border colour

30

css property: border-style

sets the border line style

31

css property: border-top-width

sets the top border width

32

css property: border-right-width

sets the right border width

33

css property: border-bottom-width

sets the bottom border width

34

css property: border-left-width

sets the left border width

35

css property: border-top-color

sets the top border colour

36

css property: border-left-color

sets the left border colour

37

css property: border-bottom-color

sets the bottom border colour

38

css property: border-right-color

sets the right border colour

39

css property: border-top-style

sets the top border line style

40

css property: border-left-style

sets the left border line style

41

css property: border-bottom-style

sets the bottom border line style

42

css property: border-right-style

sets the right border line style

43

css property: float

specfies that an element should be taken from the normal flow and be placed along the left or right side of its container, where text and inline elements will wrap around it

44

css property: clear

specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them

45

css property: background-image

sets one or several background images for an element

46

css property: background-attachment

determines whether that image's position is fixed within the viewport, or scrolls along with its containing block

47

css property: opacity

specifies the transparency of an element and any of its child elements

48

css property: vertical alignment

specifies the vertical alignment of an inline or table-cell box

49

css property: min-width

set the minimum width of a given element

50

css property: max-width

set the maximum width of a given element

51

css property: min-height

set the minimum height of a given element

52

css property: max-height

set the maximum height of an element

53

css property: overflow

specifies whether to clip content, render scrollbars or just display content when it overflows its block level container

54

css property: display

specifies the type of rendering box used for an element

55

css property: visibility

used to hide an element while leaving the space where it would have been

56

css property: border-image

allows drawing an image on the borders of elements

57

css property: box-shadow

enables you to cast a drop shadow from the frame of almost any element

58

css property: list-style-type

specifies the appearance of a list item element

59

css property: list-style-image

specifies an image to be used as the list item marker

60

css property: list-style-position

specifies the position of the marker box in the principal block box

61

css property: empty-cells

specifies how user agents should render borders and backgrounds around cells that have no visible content

62

css property: border-collapse

determines whether a table's borders are separated or collapsed

63

css property: border-spacing

specifies the distance between the borders of adjacent table cells

64

css property: border-radius

defines how rounded border corners are

65

css property: cursor

specifies the mouse cursor displayed when the mouse pointer is over an element

66

css property: background-position

sets the initial position for each defined background image