CSS BORDERES Flashcards

1
Q

css tag for border

A

part of doc where you gon put the border.border-style:(type of border/values);

p.dotted {border-style: dotted;}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CSS border properties

A

allows you to specify
* width
*style
* color

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

values

A
  • solid
  • dotted
  • dashed
  • double
  • inset - shade on top
  • outset- shaded part on bottom
  • none
  • hidden
  • groove- shaded part is outsude; 3d
  • ridge- shaded part/dark part is inside; 3d
  • mix
    ~~~
    border-top-style: dotted;
    border-right-style: solid;
    border-bottom-style: dotted;
    border-left-style: solid;
    ~~~
    or
    border-style: dotted solid double dashed;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

hierarchy of side widths

A

for the top border, right border, bottom border,
and the left border

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

border widhts

A

specifies the
width of the four borders.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

border width; specific size

A

in
px, pt, cm, em,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

border width; pre defined values

A

thin,
medium, thicc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

border colors

A

The border-color property is used to set the color of the four
borders.

border-color: red;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

border colors; can be set by?

A
  • name (red)
  • HEX (#ff0000) HEXADECIMAL VALUE
  • RGB (rgb(255,0,0)
  • HSL – hsl(0, 100%, 50%)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

shorthand property

A
  • shortens code
  • follows format

border-width
border-style (required)
border-color

border: 5px solid red;

or in 1 syntax only

border-left: 6px solid red;
background-color: lightgrey;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

rounded border

A
border : 2px solid red;
border-radius: 5px;
  • border1- round
  • border2-rounder
  • border 3- roundest (almost oval)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly