What is CSS?Cascading Style Sheets (CSS): is a simple mechanism for adding style (e.g. fonts, colors, layouts) to Web documents. Styles provide powerful control over the presentation of web pages.
Слайд 1Computation and Problem Solving Cascading Style Sheets (CSS)
Korzhumbayev Azamat
Слайд 2What is CSS? Cascading Style Sheets (CSS): is a simple mechanism
for adding style (e.g. fonts, colors, layouts) to Web documents.
Styles provide powerful control over the presentation of web pages.
Слайд 3Cascading Style Sheet A style sheet consists of a set of
rules. Each rule consists of one or more selectors and a
declaration block. A declaration block consists of a list of declarations in curly braces ({}). Each declaration consists of a property, a colon (:), a value, then a semi-colon (;).
Слайд 5Style Sheet Syntax Explained selector property value
rule
Слайд 6Three Different Scopes of CSS Local confined to a single element (tag) Internal affect
elements in an entire page External can affect multiple pages Precedence Local > Internal
or External
Слайд 7Local Style Sheet Example Internal Style Sheet Applied to
Header 1 Practice add “text-align” property to make it centered add “border” property
to let it have black, 1px thick, solid border at left, right, top, and bottom Tip: use “border: ;” format for 4 sides; use “border-: xx yy zz;” for a particular side, where can be left, right, top or bottom. Can apply to other similar properties.
Слайд 8Internal Style Sheet How to create? Put tag between
and tags of your HTML page Use type attribute to
indicate the style sheet type, usually type=“text/css” Put your set of style sheet rules in between tags
Если не удалось найти и скачать доклад-презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания: