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


Cascading Style Sheets CSS

Overflow PropertySpecifies whether to clip content or to add scrollbars when the content of an element is too big to fit in a specified area. Has the following values:visible | scroll

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

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

Korzhumbayev Azamat

Computation and Problem SolvingCascading Style Sheets (CSS)Korzhumbayev Azamat

Слайд 2Overflow Property
Specifies whether to clip content or to add scrollbars

when the content of an element is too big to

fit in a specified area. Has the following values:
visible | scroll | hidden | auto


Note: The overflow property only works for block elements with a specified height.and width
Overflow PropertySpecifies whether to clip content or to add scrollbars when the content of an element is

Слайд 3Float and Clear Properties
The float property specifies whether or not an element

should float.
The clear property is used to control the behavior of floating

elements.
Example:
img {float : right;}
div {clear:right;}
Note: The same effect can be achieved by inline-block value of display property.

Float and Clear PropertiesThe float property specifies whether or not an element should float.The clear property is used to control the

Слайд 4Horizontal and Vertical Align
To horizontally center a block element margin

can be used. Works only if width is set.
Another method is

to use position, float
To just center the text inside an element, use text-align.
For vertical align use padding, line-height (equal to height)
Question: How to align image?
Horizontal and Vertical AlignTo horizontally center a block element margin can be used. Works only if width is

Слайд 5Pseudo Classes
Used to define a special state of an element:
:first-child; :last-child;
:Nth-child(n)

selects the element that is the nth child regardless of parent’s type
:Nth-of

–type(n) matches every element that is the nth child, of a particular type, of its parent.
:not(selector), etc.

Pseudo ClassesUsed to define a special state of an element::first-child;	:last-child;:Nth-child(n) selects the element that is the nth child regardless

Слайд 6Pseudo Elements
Used to style specified parts of an element:
::after
::before
::first-line
::first-letter
::selection -

(color, background, cursor, outline properties can be used)

Pseudo ElementsUsed to style specified parts of an element:::after::before::first-line::first-letter::selection - (color, background, cursor, outline properties can be

Слайд 7Opacity Property
Specifies the transparency of an element. IE8 and earlier

use filter:alpha(opacity=x), 0

from being transparent:
rgba (red, green, blue, alpha); 0.0<=alpha<=1.0
Opacity PropertySpecifies the transparency of an element. IE8 and earlier use filter:alpha(opacity=x), 0

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

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

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

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

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


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

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