SlideShare a Scribd company logo
Front-end para desenvolvedores
           back-end
Elias Granja Jr.
http://www.eliasgranja.com/apresentacao/frontend2backend
@elias_era
https://www.facebook.com/elias.granja
Assuntos

HTML “semântico”
Seletores CSS
CSS Orientado a objetos
CSS Lint
<table>
<pessoas>
   <pessoa>
         <nome>Elias</nome>
   </pessoa>
</pessoas>
HTML != Visual
<div>
<header>
<article>
 <footer>
<section>
H1,H2,H3...
Acessibilidade
css?
Front-end para back-end developers
Front-end para back-end developers
#gbql,.gbeu#gbql,.gbeui#gb #gbql{background-position:-242px
         0;height:37px;width:95px}.gbet#gbq1,.gbeti#gb #gbq1,.gbes#gbq1,.gbesi#gb #gbq1{margin-
   left:16px}.gbeu#gbq1,.gbeui#gb #gbq1{margin-left:16px}.gbemi#gb .gbqldr,.gbem#gbqlw .gbqldr{max-
      height:71px;max-width:160px}.gbem#gbu,.gbemi#gb #gbu{margin-right:12px}.gbet#gbu,.gbeti#gb
  #gbu,.gbeu#gbu,.gbeui#gb #gbu,.gbes#gbu,.gbesi#gb #gbu{margin-right:0px}.gbeu#gbu .gbt,.gbeui#gb
#gbu .gbt,.gbet#gbu .gbt,.gbeti#gb #gbu .gbt,.gbes#gbu .gbt,.gbesi#gb #gbu .gbt{margin-left:6px}.gbeti#gb
            .gbqldr,.gbet#gbqlw .gbqldr,.gbesi#gb .gbqldr,.gbes#gbqlw .gbqldr{max-height:57px;max-
                    width:144px}.gbeui#gb .gbqldr,.gbeu#gbqlw .gbqldr{max-height:57px;max-
                        width:124px}.gbes#gbmail,.gbesi#gb #gbmail{top:24px}.gbemi#gb
      #gbpr,.gbem#gbpr{left:28px}.gbemi#gb .gbqpa,.gbem#gbpr .gbqpa,.gbesi#gb .gbqpa,.gbes#gbpr
       .gbqpa{width:95px}.gbesi#gb #gbpr,.gbes#gbpr{left:16px}.gbemi#gb #gbg3 .gbmab,.gbem#gbg3
          .gbmab,.gbemi#gb #gbgs4 .gbmab,.gbem#gbg4 .gbmab{margin:40px 0 0}.gbemi#gb #gbg1
 .gbmab,.gbem#gbg1 .gbmab{margin:41px 0 0}.gbemi#gb #gbg3 .gbmac,.gbem#gbg3 .gbmac,.gbemi#gb
         #gbgs4 .gbmac,.gbem#gbg4 .gbmac{margin:41px 0 0}.gbemi#gb #gbg1 .gbmac,.gbem#gbg1
           .gbmac{margin:42px 0 0}.gbesi#gb #gbg3 .gbmab,.gbes#gbg3 .gbmab,.gbesi#gb #gbgs4
.gbmab,.gbes#gbg4 .gbmab{margin:32px 0 0}.gbesi#gb #gbg1 .gbmab,.gbes#gbg1 .gbmab{margin:33px 0
             0}.gbesi#gb #gbg3 .gbmac,.gbes#gbg3 .gbmac,.gbesi#gb #gbgs4 .gbmac,.gbes#gbg4
Front-end para back-end developers
Vou ter que aprender css :(
Seletores
#blue_link a{}
Front-end para back-end developers
Class Vs ID
.blue_link {}
#blue_link {}
1 – ID(#header)
      2 – Class(.promo)
          3 – type(a)
 4 - Adjacent Sibling(h2+p)
       5 – Child (ul > li)
    6 – Descendant(ul a)
  7 – Attribute([type=”text])
8 – Pseudo-classes(a:hover)
OOCSS
Estrutura != Visual
.botao_vermelho{
display: inline-block;
text-decoration:none;
width:100px;
height:40px;
background: red;
}
.botao_azul{
display: inline-block;
text-decoration:none;
width:100px;
height:40px;
background: blue;
}
.botao{
display: inline-block;
width:100px;
height:40px;
}
.vermelho{
background: red;
}
.azul{
background:blue;
}
<a href=”bla” class=”botao vermelho”>
<a href=”bla” class=”botao azul”>
Container != Content
#sidebar ul{
color:blue;
margin:0;
}
#footer ul{
color:blue;
margin: 5px;
}
.sidebar{
margin:0;
}
.texto{
color:blue;
}
.footer{
margin: 5px;
}
Criar estilos genéricos
.floatLeft{
     float:left;
}
nomenclatura
CSS Lint'll hurt
 your feelings
     http://csslint.net
Front-end para back-end developers
HTML NÃO É VISUAL

HTML BEM ESTRUTURADO É
MELHOR ENTENDIDO POR
MÁQUINAS E ACESSÍVEL.

NAVEGADORES LEEM DA
DIREITA PARA A ESQUERDA O
SELETOR CSS
Perguntas?

More Related Content

DOCX
Tattoo
PDF
基礎からわかる、機械学習のソフトウェアテストのへの適用例 - 「Bag Of Words」を使った「類似チケットの検索」
PDF
1st CI&T Lightning Talks: Writing better code with Object Calisthenics
ODP
Conectando o Android a outros sistemas
PDF
Agiles2011 - A story of transformation: how Lean & Agile + Nearhore can incre...
PDF
A Story of Transformation: How Lean & Agile + Nearshore Outsourcing Can Incre...
PDF
Previsões - 2016, o ano dos bancos
PDF
Previsões em digital para 2015
Tattoo
基礎からわかる、機械学習のソフトウェアテストのへの適用例 - 「Bag Of Words」を使った「類似チケットの検索」
1st CI&T Lightning Talks: Writing better code with Object Calisthenics
Conectando o Android a outros sistemas
Agiles2011 - A story of transformation: how Lean & Agile + Nearhore can incre...
A Story of Transformation: How Lean & Agile + Nearshore Outsourcing Can Incre...
Previsões - 2016, o ano dos bancos
Previsões em digital para 2015

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Machine learning based COVID-19 study performance prediction
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
sap open course for s4hana steps from ECC to s4
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Chapter 3 Spatial Domain Image Processing.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine learning based COVID-19 study performance prediction
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
Assigned Numbers - 2025 - Bluetooth® Document
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
A comparative analysis of optical character recognition models for extracting...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
sap open course for s4hana steps from ECC to s4
Ad
Ad

Front-end para back-end developers