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
Jogos com CSS
Search
lewerton
January 16, 2018
Technology
0
38
Jogos com CSS
lewerton
January 16, 2018
Tweet
Share
Other Decks in Technology
See All in Technology
What happened to RubyGems and what can we learn?
mikemcquaid
0
250
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
530
なぜ今、コスト最適化(倹約)が必要なのか? ~AWSでのコスト最適化の進め方「目的編」~
htan
1
110
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
1
110
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
630
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
3
1.1k
AI駆動開発を事業のコアに置く
tasukuonizawa
1
120
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
440
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
170
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
110
プロポーザルに込める段取り八分
shoheimitani
1
190
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
Git: the NoSQL Database
bkeepers
PRO
432
66k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Are puppies a ranking factor?
jonoalderson
1
2.7k
Abbi's Birthday
coloredviolet
1
4.7k
How to train your dragon (web standard)
notwaldorf
97
6.5k
My Coaching Mixtape
mlcsv
0
47
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Agile that works and the tools we love
rasmusluckow
331
21k
Done Done
chrislema
186
16k
Transcript
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Vamos começar
Estrutura HTML
Iniciando o CSS
None
None
Meteoros
None
None
None
Escondendo nosso meteoro
Z-Index
None
Adicionando animação
None
None
None
Coin
None
None
Adicionando animação
None
None
None
Com isso temos
None
Adicionando um contador
None
Contadores com CSS O valor de um contador é manipulado
através da utilização de counter-reset. counter-increment pode ser exibido em uma página usando o counter() ou counters() função da propriedade de conteúdo
None
None
Voltando pro nosso joguinho
None
Adicionando pontos
Vamos usar o seletor :checked nas coins
O que acontece se o cometa bater na nave?
None
None
None
Novamente será usado um seletor o :Hover, dessa vez para
apresentar o game over
None
Lembrando que só foram adicionados 1 cometa e 1 moeda,
para deixar o jogo mais competitivo é necessário adicionar mais elementos
Vamos jogar?
https://codepen.io/lewerton/pen/VydEOx
OBRIGADO https://github.com/lewerton @lewerton