Разделы презентаций


Cascading Style Sheets CSS

Values - ColorsColors is either a keyword (e.g. white, red), or a numerical RGB notation.A numerical RGB notation can be:An RGB value in hexadecimal notation, which is a ‘#’ immediately followed

Слайды и текст этой презентации

Слайд 1Computation and Problem Solving
Cascading Style Sheets (CSS)

Korzhumbayev Azamat

Computation and Problem SolvingCascading Style Sheets (CSS)Korzhumbayev Azamat

Слайд 2Values - Colors
Colors
is either a keyword (e.g. white, red),

or a numerical RGB notation.
A numerical RGB notation can be:
An

RGB value in hexadecimal notation, which is a ‘#’ immediately followed by a 6 digit or 3 digit hexadecimal number E.g. #ff0000, #f00

An RGB value in functional notation E.g. rgb(255,0,0), rgb(100%,0%,0%)
Values - ColorsColors is either a keyword (e.g. white, red), or a numerical RGB notation.A numerical RGB

Слайд 3Values - Lenghts
Lengths can be
Relative em (font size of the relevant

font), ex (x-height of the relevant font),
% etc.
Absolute
px *(pixels),

in (inches), cm, mm, pt (points, =1/72 in), pc (picas, 1 pc = 12 pt)
Note: no space between number and length notation

Values - LenghtsLengths can beRelative em (font size of the relevant font),  ex (x-height of the

Слайд 4CSS Background
Background-color : color;
Background-image : url (‘URL’);
Background-repeat : repeat-x,repeat-y, no-repeat;
Background-attachment

: fixed, local
Background-position : left top, left bottom, etc.
Background: red

url(‘smiley.jpg’) no-repeat fixed 50% 50%;
CSS BackgroundBackground-color : color;Background-image : url (‘URL’);Background-repeat : repeat-x,repeat-y, no-repeat;Background-attachment : fixed, localBackground-position : left top, left

Слайд 5Box Properties
margin :
border :
padding :
content

width & height :
Example:
p{
margin: 50px;
padding: 30px;
float: right;
height: 200px;
width: 400px;
border:

5px solid #006633;
}
Box Propertiesmargin : border :  padding : content width & height : Example:p{	margin: 50px;	padding: 30px;	float: right;	height:

Слайд 6Box Model

Box Model

Слайд 7Border property
Border-style : dotted ,dashed, solid, double, groove, ridge, inset, outset,

none, hidden

Border-width : thin, medium, thick/px, etc.

Border-color : transparent/colors

Border :

dashed 10px red;

Border-radius : cm, px, etc.

Border propertyBorder-style : dotted ,dashed, solid, double, groove, ridge, inset, outset, none, hiddenBorder-width : thin, medium, thick/px, etc.Border-color

Слайд 8Margin property
Margin-top : auto, length, %, inherit

Margin-right : auto, length,

%, inherit

Margin-bottom : auto, length, %, inherit

Margin-left : auto, length,

%, inherit

Margin :

Margin propertyMargin-top : auto, length, %, inheritMargin-right : auto, length, %, inheritMargin-bottom : auto, length, %, inheritMargin-left

Слайд 9Padding property
Padding-top : auto, length, %, inherit

Padding-right : auto, length,

%, inherit

Padding-bottom : auto, length, %, inherit

Padding-left : auto, length,

%, inherit

Padding :

Padding propertyPadding-top : auto, length, %, inheritPadding-right : auto, length, %, inheritPadding-bottom : auto, length, %, inheritPadding-left

Слайд 10Outline property
Outline-style : dotted ,dashed, solid, double, groove, ridge, inset, outset,

none, hidden

Outline-width : thin, medium, thick/px, etc.

Outline-color : invert, colors

Outline

: dashed 10px red;



Outline propertyOutline-style : dotted ,dashed, solid, double, groove, ridge, inset, outset, none, hiddenOutline-width : thin, medium, thick/px, etc.Outline-color

Слайд 11Text Properties
font-family : , |
font-size :

| | inherit
font-weight : normal | bold | lighter

| 100 | 200
normal = 400, bold = 700, lighter is relative
font-style : normal | italic | oblique | inherit
line-height : normal | | | inherit
text-transform : capitalize | uppercase | lowercase | none | inherit
text-decoration : overline | underline | line-through
color :
text-indent : | | inherit
text-align : left | right | center | justify | inherit
Text Propertiesfont-family : , | font-size : | | inheritfont-weight : normal | bold | lighter |

Слайд 12CSS Links
Links can be styled with any css property (color,

background-color, font-family etc.) and have 4 states which can also

be styled:
a:link : normal unvisited link
a:visited : visited link
a:hover : link when user mouses over it. MUST come after :link and :visited
a:active : link at the moment when it’s clicked. MUST come after :hover
CSS Links	Links can be styled with any css property (color, background-color, font-family etc.) and have 4 states

Слайд 13List Properties
list-style: [disc | circle | square | decimal |

lower-roman | upper-roman | lower-alpha | upper-alpha | none] ||

[inside | outside] || [ | none]
Example li { list-style: disc inside url(‘bullet2.gif’); }
Can use the list-style-type, list-style-position, list-style-image separately.
List Propertieslist-style: [disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha

Слайд 14List Properties

Difference between inside and outside
Outside

List PropertiesDifference between inside and outsideOutside

Слайд 15Display Property
Is one of the most important ones for controlling

CSS layout. Each element has its own default value depending

on its type. Most used values are:
block – displays an element as a block element
inline – displays an element as an inline element
none – does not display an element at all
NOTE: it does not change the type of element itself, only how it appears.
Display Property	Is one of the most important ones for controlling CSS layout. Each element has its own

Слайд 16Positioning Properties
height : | % | inherit
width :

| % | inherit
max-width : | % |

inherit
left : | % | auto | inherit
top : | % | auto | inherit
right : | % | auto | inherit
bottom : | % | auto | inherit
position : static | relative | absolute | fixed | inherit
left/top/right/bottom usually used when position is specified as absolute.
Positioning Propertiesheight : | % | inheritwidth : | % | inherit max-width : | % |

Слайд 17Values for position property

Values for position property

Слайд 18Z-index Property
When elements are positioned they can become overlapped. Z-index

property is used to specify the stack order.
Example


NOTE. If

two elements overlap without a z-index specified, the element positioned last in the HTML will be shown on top.

img {     position: absolute;     left: 0px;     top: 0px;     z-index: -1; }

Z-index Property	When elements are positioned they can become overlapped. Z-index property is used to specify the stack

Обратная связь

Если не удалось найти и скачать доклад-презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое TheSlide.ru?

Это сайт презентации, докладов, проектов в PowerPoint. Здесь удобно  хранить и делиться своими презентациями с другими пользователями.


Для правообладателей

Яндекс.Метрика