Oleg Mohov
- 2. CSS3 Олег Мохов
Я.Субботник, Киев, 28 мая 2011 года
- 5. text-shadow
:after
border-radius
:focus
box-shadow
:before
background: gradient
border-image content
5
- 6. background-origin column-rule
overflow-x
word-wrap text-shadow overflow-y
:after
border-radius counter-reset
text-overflow
opacity :focus
background-clip text-align-last
box-shadow
box-sizing
:before
column-count background: gradient
column-width background-size column-gap
resize
border-image content
counter-increment
writing-mode 6
- 7. background-origin :empty :only-child :first-line
column-rule
:read-write
::selection word-wrap :enabled overflow-x
text-shadow overflow-y
:disabled :after
border-radius :nth-of-type :first-letter
counter-reset :required
text-overflow
:only-of-type opacity :root :focus
:nth-child
background-clip text-align-last
:checked box-shadow
:optional box-sizing
:nth-last-child :not
:default :before :last-child
column-count background: gradient
:read-only
column-width :indeterminate :target
background-size column-gap
resize
border-image :invalid content
:valid
:first-of-type counter-increment
:last-of-type writing-mode 7
- 8. background-origin :empty :only-child :first-line
column-rule
:read-write
::selection word-wrap :enabled overflow-x
text-shadow overflow-y
:disabled :after
border-radius :nth-of-type :first-letter
counter-reset :required
text-overflow
:only-of-type opacity :root :focus
:nth-child
background-clip text-align-last
:checked box-shadow
:optional box-sizing
:nth-last-child :not
:default :before :last-child
column-count background: gradient
:read-only
column-width :indeterminate :target
background-size column-gap
resize
border-image :invalid content
:valid
:first-of-type counter-increment
:last-of-type writing-mode 8
- 16. Транзишены
.b-transition
{
-moz-transition: linear 1s margin;
-webkit-transition: linear 1s margin;
-o-transition: linear 1s margin;
transition: linear 1s margin;
}
16
- 20. .example-round
{
-moz-border-radius: 100px;
-webkit-border-radius: 100px;
border-radius: 100px;
}
20
- 25. .example-gradient
{
background: -moz-linear-gradient(90deg,…);
background: -o-linear-gradient(90deg,…);
background: -webkit-gradient(linear,…);
background: -webkit-linear-gradient(90deg,…);
background: linear-gradient(90deg,…);
filter:progid:DXImageTransform.Microsoft.gradient…;
-ms-filter:”progid:DXImageTransform.Microsoft.gradient…”;
}
25
- 36. .example-shadow
{
position: relative;
}
.example-shadow:before
{
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
display: block;
content: “”;
}
36
- 37. .example-shadow
{
position: relative;
}
.example-shadow:before
{
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
z-index: -1;
display: block;
content: “”;
}
37
- 38. .example-shadow
{
position: relative;
}
.example-shadow:before
{
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
z-index: -1;
display: block;
content: “”;
box-shadow: 0 0 14px #fff;
38
}
- 45. .example-border-image
{
position: relative;
}
.example-border-image:before
{
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
display: block;
content: “”;
}
45
- 46. .example-border-image
{
position: relative;
}
.example-border-image:before
{
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
z-index: -1;
display: block;
content: “”;
}
46
- 47. .example-border-image
{
position: relative;
}
.example-border-image:before
{
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
z-index: -1;
display: block;
content: “”;
border-image: ...;
47
}
- 55. Browser
Photoshop Photoshop
smoothness 100% smoothness 0%
55