Cascading Style Sheets

Cascading Style Sheets

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Property name

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 (21)

Section 1

(21 cards)

Property name

Front

https://www.w3schools.com/css/selector.gif

Back

HTML style tag

Front

The <style> tag is used to define style information for an HTML document. Inside the <style> element you specify how HTML elements should render in a browser. Each HTML document can contain multiple <style> tags.

Back

CSS font family

Front

The font-family property specifies the font for an element. The font-family property can hold several font names as a "fallback" system. If the browser does not support the first font, it tries the next font. There are two types of font family names: family-name - The name of a font-family, like "times", "courier", "arial", etc. generic-family - The name of a generic-family, like "serif", "sans-serif", "cursive", "fantasy", "monospace". https://www.w3schools.com/cssref/tryit.asp?filename=trycss_font-family

Back

Serif font

Front

Serif fonts have small lines at the ends on some characters. Times new roman, Georgia

Back

CSS

Front

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML

Back

Block display

Front

Will break lines between the items for whatever item is block.

Back

selector

Front

In CSS, selectors are patterns used to select the element(s) you want to style. https://www.w3schools.com/cssref/css_selectors.asp

Back

border-collapse

Front

The border-collapse property sets whether table borders should collapse into a single border or be separated as in standard HTML. https://www.w3schools.com/cssref/tryit.asp?filename=trycss_border-collapse

Back

RGB color

Front

RGB color values are supported in all browsers. An RGB color value is specified with: rgb(red, green, blue). Each parameter (red, green, and blue) defines the intensity of the color as an integer between 0 and 255. For example, rgb(0, 0, 255) is rendered as blue, because the blue parameter is set to its highest value (255) and the others are set to 0 https://www.w3schools.com/colors/tryit.asp?filename=trycolors_rgb

Back

Box model

Front

The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. The image below illustrates the box model: -Content - The content of the box, where text and images appear -Padding - Clears an area around the content. The padding is transparent -Border - A border that goes around the padding and content -Margin - Clears an area outside the border. The margin is transparent https://www.w3schools.com/css/tryit.asp?filename=trycss_boxmodel

Back

CSS visibility

Front

The visibility property specifies whether or not an element is visible. Tip: Hidden elements take up space on the page. Use the display property to both hide and remove an element from the document layout! https://www.w3schools.com/cssref/tryit.asp?filename=trycss_visibility

Back

margin

Front

The CSS margin properties are used to create space around elements, outside of any defined borders. https://www.w3schools.com/css/tryit.asp?filename=trycss_margin_intro

Back

Property value

Front

https://www.w3schools.com/css/selector.gif

Back

padding

Front

The CSS padding properties are used to generate space around an element's content, inside of any defined borders. https://www.w3schools.com/css/tryit.asp?filename=trycss_padding_intro

Back

CSS class

Front

The .class selector selects elements with a specific class attribute. To select elements with a specific class, write a period (.) character, followed by the name of the class. https://www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_class

Back

Named color

Front

All modern browsers support the following 140 color names (click on a color name, or a hex value, to view the color as the background-color along with different text colors): https://www.w3schools.com/colors/colors_names.asp

Back

Sans-serif font

Front

"Sans" means without - these fonts do not have the lines at the ends of characters. Arial, Verdana

Back

External stylesheet

Front

With an external style sheet, you can change the look of an entire website by changing just one file! Each page must include a reference to the external style sheet file inside the <link> element. The <link> element goes inside the <head> section:

Back

Inline display

Front

Allows items to be displayed horizantally, inline display does not break line.

Back

border

Front

The CSS border properties allow you to specify the style, width, and color of an element's border. https://www.w3schools.com/css/css_border.asp

Back

CSS display

Front

The display property specifies the display behavior (the type of rendering box) of an element. https://www.w3schools.com/CSSref/tryit.asp?filename=trycss_display

Back