返回卡包市场

TeamTreeHouse CSS

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 24内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (24 张)

#1
正面 (问题)

What does css allow for?

背面 (解答)

css allows for presentation and screensizes and resolutions

#2
正面 (问题)

What are the three ways to add css to your page?

背面 (解答)

1- inline styles, 2- internal styles, 3- external stylesheets

#3
正面 (问题)

How can you inspect an element?

背面 (解答)

right click it on a webpage

#4
正面 (问题)

How to make text bold?

背面 (解答)

font-weight: bold;

#5
正面 (问题)

how to control size of your font?

背面 (解答)

font-size: 2 em;

#6
正面 (问题)

What is another way of expressing the styles “we” create?

背面 (解答)

author styles

#7
正面 (问题)

How do we write inline-styles?

背面 (解答)

we write our css directly in our html element: < body style = “ background - color : orange ; “ > blah < / body >

#8
正面 (问题)

Should inline-styles be used under best practices?

背面 (解答)

NO

#9
正面 (问题)

In the css cascade where do inline-styles fit in?

背面 (解答)

They override everything.

#10
正面 (问题)

Where do you place internal styles?

背面 (解答)

internal styles are placed in the < head > section of your html using a < style > tag.

#11
正面 (问题)

Code for an internal style …

背面 (解答)

< head > < title > wha happin? < / title > < style > p { font-size: 20px; font-weight: bold; } < / head >

#12
正面 (问题)

Are internal styles best practice?

背面 (解答)

NO

#13
正面 (问题)

What does D.R.Y. mean?

背面 (解答)

Don’t Repeat Yourself

#14
正面 (问题)

Where do you find external stylesheets?

背面 (解答)

Generally, in the same folder but in a different file as your html.

#15
正面 (问题)

Why is it best practice to use external styles?

背面 (解答)

To keep seperate content from presentation.

#16
正面 (问题)

How would you make text display in the center?

背面 (解答)

body { text-align: center; }

#17
正面 (问题)

Where could you go to see if particular css code will work in a particular browser?

背面 (解答)

https : / / caniuse.com

#18
正面 (问题)

What are the two main parts of a css rule?

背面 (解答)

the selector and the declaration

#19
正面 (问题)

Which is the universal selector?

背面 (解答)

* { property: value; } the asterisk

#20
正面 (问题)

How do you control the color of text?

背面 (解答)

a { color: blue; }

#21
正面 (问题)

How do you control for the background color of text?

背面 (解答)

a { background-color: blue; }

#22
正面 (问题)

How do you get rid of the anchor underline?

背面 (解答)

a { text-decoration: none; }

#23
正面 (问题)

What would you do to target just one element of your html?

背面 (解答)

use an id selector

#24
正面 (问题)

How do you define an id selector on your html element?

背面 (解答)

< header > < section id = “ education “ > < ul > ….