LESSON 3 Flashcards

1
Q

CSS stands for

A

Cascading Style Sheets

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

is a simple design language intended to
simplify the process of making web pages presentable. you can control the color of the
text, the style of the fonts, the spacing between paragraphs, what background images or colors are used, as well as a variety of other effects.

A

CSS

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

PARTS OF A CSS RULE

A

1) SELECTOR
2) DECLARATION

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

The _ points to the HTML element you want to style.

A

SELECTOR

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

The _ block contains one or more _ separated by
semicolons. Each _ includes a CSS property name and a value, separated by a colon.

A

DECLARATION

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

3 WAYS TO INCLUDE CSS IN HTML

A

1) INLINE
2) INTERNAL
3) EXTERNAL STYLE SHEET

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

_ is used if you want to apply style directly to each element

A

1) INLINE

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

The _ style is defined inside the <style></style>.
It is usually added inside the <head> element.

A

INTERNAL

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

An _ css can be written in a separate document and saved with a .css
extension. In your HTML document, add a <link></link> tag then insert the name of your css document with extension.

A

EXTERNAL STYLE SHEET

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

COMMON SELECTOR TYPES

A

1) SIMPLE SELECTORS
2) Psuedo-Class SELECTORS
3) Psuedo-ELEMENT SELECTORS

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

SIMPLE SELECTORS

A

Universal
Element
id
class

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

A _ is used to define a special state of an element.

A

Psuedo-Class SELECTORS

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

A CSS _ is used to style specified parts of an element.

A

Psuedo-ELEMENT SELECTORS

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

_are ignored by the browser and are usually placed inside the <style> element unless it is in an external file.
It starts with /* and ends with */ characters.</style>

A

CSS COMMENT

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

_ are specified using predefined color names, or RGB, HEX, HSL, RGBA, and HSLA values.

A

COLOR VALUES

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

COLOR VALUES

A

1) NAMES
2) RGB
3) HSL
4) HEX

17
Q

In CSS, a color can be specified by using a
predefined color name.

18
Q

_ stands for red, green, blue Each parameter (red, green, and blue) defines the intensity of the color between 0 and 255.

19
Q

_(hue, saturation, lightness) Hue is a degree on the color wheel from 0 to 360. 0 is red, 120 is green, and 240 is blue.
Saturation is a percentage value. 0% means a shade of gray, and 100% is the full color. Lightness is also a percentage. 0% is black, 50% is neither light or dark, 100% is white

20
Q

A hexadecimal color is specified with: #RRGGBB, where the RR (red), GG (green) and BB (blue) hexadecimal integers specify the components of the color. Values of each color ranges between 00 and ff (same as decimal 0-255)

21
Q

TEXT PROPERTIES

A

COLOR
TEXT-ALIGN
TEXT-DECORATION (line, color, style, thickness)
TEXT-TRANSFORM
LETTER-SPACING
LINE-HEIGHT
WORD-SPACING
TEXT-SHADOW

22
Q

FONT PROPERTIES

A

FONT-FAMILY
FONT-STYLE (Normal, Italic )
FONT-WEIGHT (Normal, Bold)
FONT-SIZE

23
Q

BACKGROUND PROPERTIES

A

background-color
background-image
background-size
background-repeat
background-attachment

24
Q

The CSS _ is a container that contains multiple properties including
borders, margins, padding, and the content itself.

A

THE BOX MODEL

25
THE BOX MODEL
Content Padding Border Margin
26
The _ of the box, where you can insert text, images, etc.
Content
27
It is the space around the content and it is inside the border. The _ is transparent.
Padding
28
A _ that goes around the padding and content.
Border
29
It is the space around the element and is outside the border. The _ is transparent.
Margin
30
POSITION VALUES
Static (default) Fixed Relative Absolute Sticky
31
FLOAT VALUES
left right none inherit
32
can be viewed using many different devices. Your web page should look good, and be easy to use, regardless of the device. Web pages should not leave out information to fit smaller devices, but rather adapt its content to fit any device.
RESPONSIVE WEB PAGE
33
CONSIDER THESE THINGS
Set the viewport Use box-sizing property Apply the concept of Grid View Use Media Queries
34
The _ is the user's visible area of a web page. HTML5 introduced a method to let web designers take control over the viewport, through the tag.
Viewport
35
The _ allows us to include the padding and border in an element's total width and height.
box-sizing property
36
actual width of an element
width + padding + border
37
actual height of an element
height + padding + border
38
A responsive _ often has 12 columns, and has a total width of 100%, and will shrink and expand as you resize the browser window.
GRID VIEW
39
We use the @media rule to include a block of CSS properties only if a certain condition is true. We can add a breakpoint where certain parts of the design will behave differently on each side of the breakpoint.
MEDIA QUERIES