Section 1

Preview this deck

CSS COMMENTS

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (32)

Section 1

(32 cards)

CSS COMMENTS

Front

Comments are used to explain the code, and may help when you edit the source code at a later date.

Back

Property: valuepx

Front

Pixel, which is abbreviated px, is how elements are measured in CSS.

Back

STYLE SHEET

Front

To add CSS style rules to an HTML page, you need to create a style sheet document.

Back

Border-width

Front

Changes the border width of an element

Back

Width

Front

Sets the width of an element

Back

Border-color

Front

the color of the border

Back

GROUPING CSS SELECTORS

Front

The grouping selector selects all the HTML elements with the same style definitions.

Back

Cascading Stylesheets

Front

is a language that adds style to a web page.

Back

CSS CLASS

Front

An identifier that allows multiple elements in an HTML document to be styled in the same way

Back

Body {property:value;}

Front

The <body> element is a special element that wraps all of the visible content on a web page.

Back

RGB Value

Front

RGB color mixing uses light instead of paint, so the colors mix differently.

Back

color: value

Front

Affects the color or text

Back

RULES

Front

The rules describe how the elements identified by the selector should change.

Back

CSS LINK

Front

<link rel="stylesheet" href="style.css">

Back

CSS PADDING-SHORTHAND PROPERTY

Front

The CSS padding properties are used to generate space around an element's content, inside of any defined borders.

Back

Margin

Front

Generates space around an element

Back

Border-radius

Front

The `border-radius` property determines the radius of the curves at the corners of the element.

Back

Background-color

Front

It changes the background of the page.

Back

SELECTOR

Front

The selectors can be any part of the web page you want to style.

Back

Float

Front

Floats an element to one side of the page

Back

HEXADECIMAL COLORS

Front

Hexadecimal color values are also supported in all browsers. A hexadecimal color is specified with: #RRGGBB.

Back

Border-style

Front

Changes the style of border

Back

text-align: value

Front

Affects the alignment of the text

Back

CSS BORDER-SHORTHAND PROPERTY

Front

As you can see from the examples above, there are many properties to consider when dealing with borders.

Back

text-decoration: value

Front

Affects the text in additional styles

Back

CSS COLORS

Front

With CSS, colors can be specified in different ways

Back

TEXT TRANSFORMATION

Front

The text-transform property is used to specify uppercase and lowercase letters in a text.

Back

Height

Front

Sets the height of an element

Back

font-size: value

Front

Affects the size of text

Back

CSS RULE SETS

Front

consist of two main parts:Selector, rules

Back

CSS MARGIN-SHORTHAND PROPERTY

Front

To shorten the code, it is also possible to specify all the individual margin properties in one property.

Back

font-family: value

Front

Affects the text's font style

Back