SlideShare a Scribd company logo
CSS AND ITS FUTURE 
Created by Alex Bondarev / @skip405
WHAT IS CSS? 
CSS is is a style sheet language used for describing the look and 
formatting of a document written in a markup language.
WHY WAS IT INTRODUCED? 
CSS was invented to separate document content from 
presentation. Such separation allowed to have one and the same 
document styled differently.
CSS ZEN GARDEN
Css and its future
Css and its future
Css and its future
CSS SYNTAX 
.my-block{ 
display: none; 
margin: auto; 
} 
selector, declaration block, property, value
WHAT IS CSS AGAIN? 
the reason it's called Cascading Style Sheets is that CSS 
introduces a priority scheme. It is needed in situations when 
styles for an element on the page come from different sources
SELECTOR SPECIFICITY 
There's a scheme that allows to count selector specificity. It 
consists of 4 numbers and looks like this: 
0,0,1,0 
In other words, the numbers represent the quantity of different 
CSS selectors in one 
style attribute (style="display: none;"), id 
(#new), class (.element), element (p, span, div) 
.my-block{ 
display: none; 
margin: auto; 
} 
This selector contains only a single class-name, so it has 
specificity of 0,0,1,0
PARTY TIME :) 
A person who is the first to calculate the specificity of this 
selector gets a Mishka na polyane 
html body section.id#class 
div.id + .id.id--header > 
li.id a
AN !IMPORTANT NOTE 
!important is the master rule that can be overwritten by a more 
specific selector with !important
MINUSES THAT ARE BEING SEEN TO 
No native variables. 
No way to target the parent selector 
No layout mechanism 
No calculation. It's impossible to natively use something like 
this: 100% - 2em + 30px 
No native variables. Firefox is the first (and the only so far) to 
have them 
No way to target the parent selector 
No layout mechanism (flexbox to the rescue but support is 
catching up) 
No calculation. It's impossible to natively use something like 
this: 100% - 2em + 30px - calc function is supported from 
IE9 and newer, and Android 4.4 and newer 
Some things can be solved by preprocessors
CSS SHAPES 
is one of the most significant CSS features that are going to be 
implemented.
Soon it will be possible to do something like this in all browsers:
Css and its future
Css and its future
IT DOESN'T END HERE OF COURSE :) 
There are lots of things to come in the future. Here's a list of the 
most interesting CSS possibilities that are planned. 
New selector possibilities: @namespace, :matches, :local-link( 
3) etc. 
Wider support of Blend modes 
Conic gradients 
Using an html element on the page as a background-image 
with background: element(#src);
CSS IS COOL! THANKS FOR LISTENING

More Related Content

What's hot (15)

PPTX
Languages for web(HTML,CSS,JS)
MHR11
 
PPTX
Css3 shubelal
Shub
 
PPTX
Css3
Deepak Mangal
 
PPTX
New Elements & Features in CSS3
Jamshid Hashimi
 
KEY
Lecture2
Lee Lundrigan
 
PDF
Fundamental CSS3
Achmad Solichin
 
PPTX
What's a web page made of?
Charlie Allen
 
PPTX
Web Languages
Kopi Maheswaran
 
PPTX
Back to the Basics - 2 - HTML & CSS
Clint LaForest
 
PPT
Getting started with html5
Suresh Kumar
 
KEY
CSS and CSS3
Robyn Overstreet
 
PDF
[Worskhop Summits] CSS3 Workshop
Christopher Schmitt
 
PPTX
Web Information Systems XML
Artificial Intelligence Institute at UofSC
 
PPTX
presentation in html,css,javascript
FaysalAhammed5
 
PPTX
Welcome to css!
sidneyodingo
 
Languages for web(HTML,CSS,JS)
MHR11
 
Css3 shubelal
Shub
 
New Elements & Features in CSS3
Jamshid Hashimi
 
Lecture2
Lee Lundrigan
 
Fundamental CSS3
Achmad Solichin
 
What's a web page made of?
Charlie Allen
 
Web Languages
Kopi Maheswaran
 
Back to the Basics - 2 - HTML & CSS
Clint LaForest
 
Getting started with html5
Suresh Kumar
 
CSS and CSS3
Robyn Overstreet
 
[Worskhop Summits] CSS3 Workshop
Christopher Schmitt
 
Web Information Systems XML
Artificial Intelligence Institute at UofSC
 
presentation in html,css,javascript
FaysalAhammed5
 
Welcome to css!
sidneyodingo
 

Viewers also liked (12)

PDF
Html and its future
Alex Bondarev
 
PDF
Finding_your_digital_sweet_spot
Andy Mallows
 
PDF
Proof of payment
Nguyễn Thái
 
PPTX
Tugas kimia mekanika kuantum
Anang Andika Putra Siswanto
 
PDF
Introduction to HSA
秉儒 吳
 
PDF
Analysis approach for three phase two level voltage
eSAT Publishing House
 
PPSX
Linkofme大頭照上傳方式
magicbonus
 
PDF
Actividad nro 1
Catalina Campiño
 
PDF
أجرك صوت الدراهم
Sami Guiba
 
DOCX
June 1 prescription for life
Gary Thompson
 
PPTX
KKPI PENJELASAN SCANNER
Gede Ari Adnyana
 
PDF
Digital image compression techniques
eSAT Publishing House
 
Html and its future
Alex Bondarev
 
Finding_your_digital_sweet_spot
Andy Mallows
 
Proof of payment
Nguyễn Thái
 
Tugas kimia mekanika kuantum
Anang Andika Putra Siswanto
 
Introduction to HSA
秉儒 吳
 
Analysis approach for three phase two level voltage
eSAT Publishing House
 
Linkofme大頭照上傳方式
magicbonus
 
Actividad nro 1
Catalina Campiño
 
أجرك صوت الدراهم
Sami Guiba
 
June 1 prescription for life
Gary Thompson
 
KKPI PENJELASAN SCANNER
Gede Ari Adnyana
 
Digital image compression techniques
eSAT Publishing House
 
Ad

Similar to Css and its future (20)

PDF
The CSS Handbook
jackchenvlo
 
PPT
CSS Methodology
Zohar Arad
 
PPT
Basic Knowldege about CSS Prepared for VV softech solution (2).ppt
testvarun21
 
PPT
Css training tutorial css3 & css4 essentials
QA TrainingHub
 
PPT
3-CSS_essentials.ppt
datapro2
 
PPT
3-CSS_essentials introduction slides.ppt
Aasma13
 
PPT
3-CSS_essentials.ppt
scet315
 
PPT
3-CSS_essentials_developers_begineers.ppt
mohamed abd elrazek
 
PPT
CSS Essentials for Website Development.ppt
unknownman23570
 
PPT
3 css essentials
Anchu S
 
PPTX
Cordova training - Day 2 Introduction to CSS 3
Binu Paul
 
PDF
Pfnp slides
William Myers
 
PDF
Introduction to css
nikhilsh66131
 
PPTX
Rock Solid CSS Architecture
John Need
 
PDF
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
PDF
Full
sanjaykhan33
 
PDF
Design and CSS
nolly00
 
PDF
Web Programming& Scripting Lab
Swapnali Pawar
 
PDF
Structuring your CSS for maintainability: rules and guile lines to write CSS
Sanjoy Kr. Paul
 
The CSS Handbook
jackchenvlo
 
CSS Methodology
Zohar Arad
 
Basic Knowldege about CSS Prepared for VV softech solution (2).ppt
testvarun21
 
Css training tutorial css3 & css4 essentials
QA TrainingHub
 
3-CSS_essentials.ppt
datapro2
 
3-CSS_essentials introduction slides.ppt
Aasma13
 
3-CSS_essentials.ppt
scet315
 
3-CSS_essentials_developers_begineers.ppt
mohamed abd elrazek
 
CSS Essentials for Website Development.ppt
unknownman23570
 
3 css essentials
Anchu S
 
Cordova training - Day 2 Introduction to CSS 3
Binu Paul
 
Pfnp slides
William Myers
 
Introduction to css
nikhilsh66131
 
Rock Solid CSS Architecture
John Need
 
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
Design and CSS
nolly00
 
Web Programming& Scripting Lab
Swapnali Pawar
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Sanjoy Kr. Paul
 
Ad

Recently uploaded (20)

PPT
Computer Securityyyyyyyy - Chapter 1.ppt
SolomonSB
 
PPTX
一比一原版(LaTech毕业证)路易斯安那理工大学毕业证如何办理
Taqyea
 
PPTX
PE introd.pptxfrgfgfdgfdgfgrtretrt44t444
nepmithibai2024
 
PDF
DevOps Design for different deployment options
henrymails
 
PPTX
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
PPTX
一比一原版(SUNY-Albany毕业证)纽约州立大学奥尔巴尼分校毕业证如何办理
Taqyea
 
PDF
Web Hosting for Shopify WooCommerce etc.
Harry_Phoneix Harry_Phoneix
 
PPTX
本科硕士学历佛罗里达大学毕业证(UF毕业证书)24小时在线办理
Taqyea
 
PPTX
Orchestrating things in Angular application
Peter Abraham
 
PDF
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
PPTX
INTEGRATION OF ICT IN LEARNING AND INCORPORATIING TECHNOLOGY
kvshardwork1235
 
PPTX
unit 2_2 copy right fdrgfdgfai and sm.pptx
nepmithibai2024
 
PDF
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
PPT
Computer Securityyyyyyyy - Chapter 2.ppt
SolomonSB
 
PPTX
Research Design - Report on seminar in thesis writing. PPTX
arvielobos1
 
PPTX
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
PDF
Apple_Environmental_Progress_Report_2025.pdf
yiukwong
 
PDF
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
PDF
Azure_DevOps introduction for CI/CD and Agile
henrymails
 
PPTX
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
Computer Securityyyyyyyy - Chapter 1.ppt
SolomonSB
 
一比一原版(LaTech毕业证)路易斯安那理工大学毕业证如何办理
Taqyea
 
PE introd.pptxfrgfgfdgfdgfgrtretrt44t444
nepmithibai2024
 
DevOps Design for different deployment options
henrymails
 
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
一比一原版(SUNY-Albany毕业证)纽约州立大学奥尔巴尼分校毕业证如何办理
Taqyea
 
Web Hosting for Shopify WooCommerce etc.
Harry_Phoneix Harry_Phoneix
 
本科硕士学历佛罗里达大学毕业证(UF毕业证书)24小时在线办理
Taqyea
 
Orchestrating things in Angular application
Peter Abraham
 
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
INTEGRATION OF ICT IN LEARNING AND INCORPORATIING TECHNOLOGY
kvshardwork1235
 
unit 2_2 copy right fdrgfdgfai and sm.pptx
nepmithibai2024
 
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
Computer Securityyyyyyyy - Chapter 2.ppt
SolomonSB
 
Research Design - Report on seminar in thesis writing. PPTX
arvielobos1
 
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
Apple_Environmental_Progress_Report_2025.pdf
yiukwong
 
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
Azure_DevOps introduction for CI/CD and Agile
henrymails
 
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 

Css and its future

  • 1. CSS AND ITS FUTURE Created by Alex Bondarev / @skip405
  • 2. WHAT IS CSS? CSS is is a style sheet language used for describing the look and formatting of a document written in a markup language.
  • 3. WHY WAS IT INTRODUCED? CSS was invented to separate document content from presentation. Such separation allowed to have one and the same document styled differently.
  • 8. CSS SYNTAX .my-block{ display: none; margin: auto; } selector, declaration block, property, value
  • 9. WHAT IS CSS AGAIN? the reason it's called Cascading Style Sheets is that CSS introduces a priority scheme. It is needed in situations when styles for an element on the page come from different sources
  • 10. SELECTOR SPECIFICITY There's a scheme that allows to count selector specificity. It consists of 4 numbers and looks like this: 0,0,1,0 In other words, the numbers represent the quantity of different CSS selectors in one style attribute (style="display: none;"), id (#new), class (.element), element (p, span, div) .my-block{ display: none; margin: auto; } This selector contains only a single class-name, so it has specificity of 0,0,1,0
  • 11. PARTY TIME :) A person who is the first to calculate the specificity of this selector gets a Mishka na polyane html body section.id#class div.id + .id.id--header > li.id a
  • 12. AN !IMPORTANT NOTE !important is the master rule that can be overwritten by a more specific selector with !important
  • 13. MINUSES THAT ARE BEING SEEN TO No native variables. No way to target the parent selector No layout mechanism No calculation. It's impossible to natively use something like this: 100% - 2em + 30px No native variables. Firefox is the first (and the only so far) to have them No way to target the parent selector No layout mechanism (flexbox to the rescue but support is catching up) No calculation. It's impossible to natively use something like this: 100% - 2em + 30px - calc function is supported from IE9 and newer, and Android 4.4 and newer Some things can be solved by preprocessors
  • 14. CSS SHAPES is one of the most significant CSS features that are going to be implemented.
  • 15. Soon it will be possible to do something like this in all browsers:
  • 18. IT DOESN'T END HERE OF COURSE :) There are lots of things to come in the future. Here's a list of the most interesting CSS possibilities that are planned. New selector possibilities: @namespace, :matches, :local-link( 3) etc. Wider support of Blend modes Conic gradients Using an html element on the page as a background-image with background: element(#src);
  • 19. CSS IS COOL! THANKS FOR LISTENING