Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SASS + COMPASS - Alta Produtividade no Front-end
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Anderson Aguiar
June 20, 2013
Technology
60
0
Share
SASS + COMPASS - Alta Produtividade no Front-end
Introdução aos pré-processadores, features, comandos, instalação e frameworks.
Anderson Aguiar
June 20, 2013
More Decks by Anderson Aguiar
See All by Anderson Aguiar
Automating Large Applications on Modular and Structured Form with Gulp
andersonaguiar
0
62
Alta Performance em Aplicações Web
andersonaguiar
0
41
Agilidade e Semântica com HTML5 e CSS3
andersonaguiar
0
55
Other Decks in Technology
See All in Technology
データ分析基盤の信頼を支える視点と設計
yuki_saito
2
750
大学生が本気でDatabricksを活用してDiscordサークルをデータ駆動させてみた
phantomjuju
0
260
はじめてのDatadog
kairim0
0
180
テストコードのないプロジェクトにテストを根付かせる
tttol
0
220
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
290
A Harness for Behaviour: how to get AI to generate code that does what we intend, or "TDD in the age of AI"
xpmatteo
0
490
CloudFront VPCオリジンとVPC Latticeサービスの内部ALBをマルチアカウントで一元利用しよう
duelist2020jp
5
260
まだ道半ば、AI-DLCを歩み始めている話
news_it_enj
2
210
JJUG CCC 2026 Spring AI時代の開発こそ標準化を武器に! ― 方式・プロセス・プラットフォームの標準化
s27watanabe
2
590
Agentic Design Patterns
glaforge
0
260
Spring AI × MCP 入門〜AIエージェントへのツール公開、境界設計から始める最小構成 〜
yuyamiyamoto
0
170
さきさん文庫の書籍ができるまで
sakiengineer
0
300
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
430
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
340
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
270
Statistics for Hackers
jakevdp
799
230k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
140
Abbi's Birthday
coloredviolet
2
7.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
310
Transcript
None
Sobre mim
Os 3 mais populares
http://sass-lang.com/
None
Features • Variables • Nesting • Mixins • Selector Inheritance
• Compression • Clean code • Silent comments • Colors(darken, lighten, saturate, grayscale) • Mathematical Expressions • Imports
Features Variables
Features Mathematical Expressions
Features Mathematical Expressions
Features Colors
Features Nesting
Features Mixins
Features Mixins
Features Selector Inheritance
Features Compression + Silent comments
Features Imports
Syntax SCSS SASS
Instalação
Instalação Instalar o ruby: http://rubyinstaller.org/downloads/
Instalação http://tinyurl.com/9nxw79l
Instalação
Instalação
Instalação gem install sass ;)
Utilização sass --watch arquivo.scss:arquivo.css sass --watch sass:css --style compact
Utilização Mas eu não gosto do terminal
http://mhs.github.com/scout-app/
http://mhs.github.com/scout-app/
Perguntas sobre SASS?
http://compass-style.org/
None
Frameworks
Features • Frameworks • Comunidade forte • Já vem com
SASS por default • CSS3 • Sprites • Images • Estatísticas dos SCSS/CSS • Validação de CSS • ...
Instalação + Utilização 1) Entrar no diretório do projeto 2)
Digitar no terminal: compass create 3) Editar o config.rb que foi gerado, para as suas preferências 4) Digitar no terminal: compass watch 5) Começar a mágica ;)
Configuração
Features CSS3 • Não precisa preencher vendors, o compass faz
isso pra você • Incompatibilidade de sintaxe • Clearfix • Box • Box-shadow • Border radius • Text shadow • Gradient • Etc...
Features CSS3
Features CSS3
Features Media queries
Features Sprites
Features Images
Features Images
None
None
Features Grids
Features Grids – Instalação e uso https://github.com/nextmat/compass-960-plugin
Features Stats
Pré-processadores de CSS Less: http://lesscss.org/ Stylus: http://learnboost.github.com/stylus/ Sass: http://sass-lang.com/
Devo usar? • Já domino o CSS tradicional? • Irá
agregar melhoria no meu desenvolvimento?
Dúvidas?
Referências http://www.tidbits.com.br/desenvolvendo-css-de-forma-mais-produtiva-usando-sass (imagem de instalação windows, fluxo variáveis de ambiente)
http://www.slideshare.net/chriseppstein/authoring-stylesheets-with-compass-sass http://www.slideshare.net/hlb/sass-compass-7653212 http://www.slideshare.net/adantz/frontendentwicklung-mit-sass-compass http://www.slideshare.net/verekia/deep-dive-into-css-preprocessors http://compass-style.org/ http://sass-lang.com/
Obrigado! Disponível em: http://www.slideshare.net/andersonagr Contato: @andersonaguiar
[email protected]