Submit Search
Upload
React App Styling With CSS, Styled Components & Inline Styling
•
2 likes
•
524 views
AI-enhanced title
Riza Fahmi
Follow
"Styling Your React App" is slide for React Indonesia March Meetup 2017
Read less
Read more
Technology
Report
Share
Report
Share
1 of 48
Download now
Download to read offline
Recommended
Serverless NodeJS With AWS Lambda
Serverless NodeJS With AWS Lambda
Riza Fahmi
First Step Into NodeJS World
First Step Into NodeJS World
Riza Fahmi
Interoperability of components built with different frameworks
Interoperability of components built with different frameworks
Souvik Basu
Progressive Web Apps. What, why and how
Progressive Web Apps. What, why and how
Riza Fahmi
Web Based Development Introduction
Web Based Development Introduction
Edy Segura
JS Framework Comparison - An infographic
JS Framework Comparison - An infographic
InApp
VueJS Best Practices
VueJS Best Practices
Fatih Acet
Node PDX: Intro to Sails.js
Node PDX: Intro to Sails.js
Mike McNeil
Recommended
Serverless NodeJS With AWS Lambda
Serverless NodeJS With AWS Lambda
Riza Fahmi
First Step Into NodeJS World
First Step Into NodeJS World
Riza Fahmi
Interoperability of components built with different frameworks
Interoperability of components built with different frameworks
Souvik Basu
Progressive Web Apps. What, why and how
Progressive Web Apps. What, why and how
Riza Fahmi
Web Based Development Introduction
Web Based Development Introduction
Edy Segura
JS Framework Comparison - An infographic
JS Framework Comparison - An infographic
InApp
VueJS Best Practices
VueJS Best Practices
Fatih Acet
Node PDX: Intro to Sails.js
Node PDX: Intro to Sails.js
Mike McNeil
JHipster
JHipster
Yuen-Kuei Hsueh
JSConf.eu Overview
JSConf.eu Overview
Raimonds Simanovskis
Latest Javascript MVC & Front End Frameworks 2017
Latest Javascript MVC & Front End Frameworks 2017
AmarInfotech
Single-page applications and Grails
Single-page applications and Grails
Alvaro Sanchez-Mariscal
Super tools to boost productivity in React dev env!
Super tools to boost productivity in React dev env!
Souvik Basu
Continuous delivery@LesFurets - DC Continuous delivery meetup
Continuous delivery@LesFurets - DC Continuous delivery meetup
Raphaël Brugier
Wikihow webbflow | HYDRA
Wikihow webbflow | HYDRA
AhmedMWahba2
Blazor
Blazor
Rafał Hryniewski
Node on Windows Azure
Node on Windows Azure
Shiju Varghese
CraftCamp for Students - Introduction to JHipster
CraftCamp for Students - Introduction to JHipster
craftworkz
Deep dive into Vue.js
Deep dive into Vue.js
선협 이
Frameworks for Web Development
Frameworks for Web Development
dtmodern
MVP with GWT and GWTP
MVP with GWT and GWTP
Christian Goudreau
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Deepu S Nath
GWTcon 2015 - Best development practices for GWT web applications
GWTcon 2015 - Best development practices for GWT web applications
Arcbees
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
Matt Raible
introduction to Vue.js 3
introduction to Vue.js 3
ArezooKmn
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Fwdays
Get Hip with Java Hipster - JavaOne 2017
Get Hip with Java Hipster - JavaOne 2017
Matt Raible
全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
Kun-Neng Hung
React Webinar With CodePolitan
React Webinar With CodePolitan
Riza Fahmi
Team 101: How to Build The A Team For Your Startup
Team 101: How to Build The A Team For Your Startup
Riza Fahmi
More Related Content
What's hot
JHipster
JHipster
Yuen-Kuei Hsueh
JSConf.eu Overview
JSConf.eu Overview
Raimonds Simanovskis
Latest Javascript MVC & Front End Frameworks 2017
Latest Javascript MVC & Front End Frameworks 2017
AmarInfotech
Single-page applications and Grails
Single-page applications and Grails
Alvaro Sanchez-Mariscal
Super tools to boost productivity in React dev env!
Super tools to boost productivity in React dev env!
Souvik Basu
Continuous delivery@LesFurets - DC Continuous delivery meetup
Continuous delivery@LesFurets - DC Continuous delivery meetup
Raphaël Brugier
Wikihow webbflow | HYDRA
Wikihow webbflow | HYDRA
AhmedMWahba2
Blazor
Blazor
Rafał Hryniewski
Node on Windows Azure
Node on Windows Azure
Shiju Varghese
CraftCamp for Students - Introduction to JHipster
CraftCamp for Students - Introduction to JHipster
craftworkz
Deep dive into Vue.js
Deep dive into Vue.js
선협 이
Frameworks for Web Development
Frameworks for Web Development
dtmodern
MVP with GWT and GWTP
MVP with GWT and GWTP
Christian Goudreau
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Deepu S Nath
GWTcon 2015 - Best development practices for GWT web applications
GWTcon 2015 - Best development practices for GWT web applications
Arcbees
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
Matt Raible
introduction to Vue.js 3
introduction to Vue.js 3
ArezooKmn
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Fwdays
Get Hip with Java Hipster - JavaOne 2017
Get Hip with Java Hipster - JavaOne 2017
Matt Raible
全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
Kun-Neng Hung
What's hot
(20)
JHipster
JHipster
JSConf.eu Overview
JSConf.eu Overview
Latest Javascript MVC & Front End Frameworks 2017
Latest Javascript MVC & Front End Frameworks 2017
Single-page applications and Grails
Single-page applications and Grails
Super tools to boost productivity in React dev env!
Super tools to boost productivity in React dev env!
Continuous delivery@LesFurets - DC Continuous delivery meetup
Continuous delivery@LesFurets - DC Continuous delivery meetup
Wikihow webbflow | HYDRA
Wikihow webbflow | HYDRA
Blazor
Blazor
Node on Windows Azure
Node on Windows Azure
CraftCamp for Students - Introduction to JHipster
CraftCamp for Students - Introduction to JHipster
Deep dive into Vue.js
Deep dive into Vue.js
Frameworks for Web Development
Frameworks for Web Development
MVP with GWT and GWTP
MVP with GWT and GWTP
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
GWTcon 2015 - Best development practices for GWT web applications
GWTcon 2015 - Best development practices for GWT web applications
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
Building a PWA with Ionic, Angular, and Spring Boot - GeeCON 2017
introduction to Vue.js 3
introduction to Vue.js 3
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Get Hip with Java Hipster - JavaOne 2017
Get Hip with Java Hipster - JavaOne 2017
全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
Viewers also liked
React Webinar With CodePolitan
React Webinar With CodePolitan
Riza Fahmi
Team 101: How to Build The A Team For Your Startup
Team 101: How to Build The A Team For Your Startup
Riza Fahmi
APPSCoast Pitch Deck
APPSCoast Pitch Deck
Riza Fahmi
Mobile Programming - Network Universitas Budi Luhur
Mobile Programming - Network Universitas Budi Luhur
Riza Fahmi
Sony lazuardi native mobile app with javascript
Sony lazuardi native mobile app with javascript
PHP Indonesia
Meteor Talk At TokoPedia
Meteor Talk At TokoPedia
Riza Fahmi
Muhammad azamuddin introduction-to-reactjs
Muhammad azamuddin introduction-to-reactjs
PHP Indonesia
React Fundamentals - Jakarta JS, Apr 2016
React Fundamentals - Jakarta JS, Apr 2016
Simon Sturmer
Fellow Developers, Let's Discover Your Superpower
Fellow Developers, Let's Discover Your Superpower
Riza Fahmi
Mobile Programming - 3 UDP
Mobile Programming - 3 UDP
Riza Fahmi
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Riza Fahmi
Basic Operating System
Basic Operating System
Nizar Lazuardy Firmansyah
재사용UI 컴포넌트설계
재사용UI 컴포넌트설계
지수 윤
NodeJS for Beginner
NodeJS for Beginner
Apaichon Punopas
[141] react everywhere
[141] react everywhere
NAVER D2
Angular 2 vs React. What to chose in 2017?
Angular 2 vs React. What to chose in 2017?
TechMagic
Front-End 개발의 괜찮은 선택 ES6 & React
Front-End 개발의 괜찮은 선택 ES6 & React
지수 윤
[123] electron 김성훈
[123] electron 김성훈
NAVER D2
React in Native Apps - Meetup React - 20150409
React in Native Apps - Meetup React - 20150409
Minko3D
React Native를 사용한 초간단 커뮤니티 앱 제작
React Native를 사용한 초간단 커뮤니티 앱 제작
Taegon Kim
Viewers also liked
(20)
React Webinar With CodePolitan
React Webinar With CodePolitan
Team 101: How to Build The A Team For Your Startup
Team 101: How to Build The A Team For Your Startup
APPSCoast Pitch Deck
APPSCoast Pitch Deck
Mobile Programming - Network Universitas Budi Luhur
Mobile Programming - Network Universitas Budi Luhur
Sony lazuardi native mobile app with javascript
Sony lazuardi native mobile app with javascript
Meteor Talk At TokoPedia
Meteor Talk At TokoPedia
Muhammad azamuddin introduction-to-reactjs
Muhammad azamuddin introduction-to-reactjs
React Fundamentals - Jakarta JS, Apr 2016
React Fundamentals - Jakarta JS, Apr 2016
Fellow Developers, Let's Discover Your Superpower
Fellow Developers, Let's Discover Your Superpower
Mobile Programming - 3 UDP
Mobile Programming - 3 UDP
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Basic Operating System
Basic Operating System
재사용UI 컴포넌트설계
재사용UI 컴포넌트설계
NodeJS for Beginner
NodeJS for Beginner
[141] react everywhere
[141] react everywhere
Angular 2 vs React. What to chose in 2017?
Angular 2 vs React. What to chose in 2017?
Front-End 개발의 괜찮은 선택 ES6 & React
Front-End 개발의 괜찮은 선택 ES6 & React
[123] electron 김성훈
[123] electron 김성훈
React in Native Apps - Meetup React - 20150409
React in Native Apps - Meetup React - 20150409
React Native를 사용한 초간단 커뮤니티 앱 제작
React Native를 사용한 초간단 커뮤니티 앱 제작
Similar to React App Styling With CSS, Styled Components & Inline Styling
Get Started With Tailwind React and Create Beautiful Apps.pdf
Get Started With Tailwind React and Create Beautiful Apps.pdf
RonDosh
以Vue開發電子商務網站 架構與眉角
以Vue開發電子商務網站 架構與眉角
Mei-yu Chen
Death of a Themer
Death of a Themer
James Panton
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
Marco Pinheiro
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Erin M. Kidwell
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors.
The University of Akron
Styling your projects! leveraging css and r sass in r projects
Styling your projects! leveraging css and r sass in r projects
Appsilon Data Science
An Introduction to CSS Preprocessors (SASS & LESS)
An Introduction to CSS Preprocessors (SASS & LESS)
Folio3 Software
Hardboiled Front End Development — Found.ation
Hardboiled Front End Development — Found.ation
Spiros Martzoukos
WebAssembly in Houdini CSS, is it possible?
WebAssembly in Houdini CSS, is it possible?
Alexandr Skachkov
SCSS Implementation
SCSS Implementation
Amey Parab
Using Sass - Building on CSS
Using Sass - Building on CSS
Sayanee Basu
Styling components with JavaScript
Styling components with JavaScript
bensmithett
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Claudina Sarahe
Understanding sass
Understanding sass
Mario Hernandez
Front End Development for Back End Developers - Denver Startup Week 2017
Front End Development for Back End Developers - Denver Startup Week 2017
Matt Raible
Authoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & Sass
chriseppstein
Introduction to React Native
Introduction to React Native
Rami Sayar
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
Oliver Ochs
RESS – Responsive Webdesign and Server Side Components
RESS – Responsive Webdesign and Server Side Components
Sven Wolfermann
Similar to React App Styling With CSS, Styled Components & Inline Styling
(20)
Get Started With Tailwind React and Create Beautiful Apps.pdf
Get Started With Tailwind React and Create Beautiful Apps.pdf
以Vue開發電子商務網站 架構與眉角
以Vue開發電子商務網站 架構與眉角
Death of a Themer
Death of a Themer
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors.
Styling your projects! leveraging css and r sass in r projects
Styling your projects! leveraging css and r sass in r projects
An Introduction to CSS Preprocessors (SASS & LESS)
An Introduction to CSS Preprocessors (SASS & LESS)
Hardboiled Front End Development — Found.ation
Hardboiled Front End Development — Found.ation
WebAssembly in Houdini CSS, is it possible?
WebAssembly in Houdini CSS, is it possible?
SCSS Implementation
SCSS Implementation
Using Sass - Building on CSS
Using Sass - Building on CSS
Styling components with JavaScript
Styling components with JavaScript
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Understanding sass
Understanding sass
Front End Development for Back End Developers - Denver Startup Week 2017
Front End Development for Back End Developers - Denver Startup Week 2017
Authoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & Sass
Introduction to React Native
Introduction to React Native
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
RESS – Responsive Webdesign and Server Side Components
RESS – Responsive Webdesign and Server Side Components
More from Riza Fahmi
Membangun Aplikasi Web dengan Elixir dan Phoenix
Membangun Aplikasi Web dengan Elixir dan Phoenix
Riza Fahmi
Berbagai Pilihan Karir Developer
Berbagai Pilihan Karir Developer
Riza Fahmi
Web dan Progressive Web Apps di 2020
Web dan Progressive Web Apps di 2020
Riza Fahmi
Remote Working/Learning
Remote Working/Learning
Riza Fahmi
How to learn programming
How to learn programming
Riza Fahmi
Rapid App Development with AWS Amplify
Rapid App Development with AWS Amplify
Riza Fahmi
Menguak Misteri Module Bundler
Menguak Misteri Module Bundler
Riza Fahmi
Beberapa Web API Menarik
Beberapa Web API Menarik
Riza Fahmi
MVP development from software developer perspective
MVP development from software developer perspective
Riza Fahmi
Ekosistem JavaScript di Indonesia
Ekosistem JavaScript di Indonesia
Riza Fahmi
Perkenalan ReasonML
Perkenalan ReasonML
Riza Fahmi
How I Generate Idea
How I Generate Idea
Riza Fahmi
Strategi Presentasi Untuk Developer Workshop Slide
Strategi Presentasi Untuk Developer Workshop Slide
Riza Fahmi
Lesson Learned from Prolific Developers
Lesson Learned from Prolific Developers
Riza Fahmi
Clean Code JavaScript
Clean Code JavaScript
Riza Fahmi
The Future of AI
The Future of AI
Riza Fahmi
Chrome Dev Summit 2018 - Personal Take Aways
Chrome Dev Summit 2018 - Personal Take Aways
Riza Fahmi
Essentials and Impactful Features of ES6
Essentials and Impactful Features of ES6
Riza Fahmi
Modern Static Site with GatsbyJS
Modern Static Site with GatsbyJS
Riza Fahmi
Introduction to ReasonML
Introduction to ReasonML
Riza Fahmi
More from Riza Fahmi
(20)
Membangun Aplikasi Web dengan Elixir dan Phoenix
Membangun Aplikasi Web dengan Elixir dan Phoenix
Berbagai Pilihan Karir Developer
Berbagai Pilihan Karir Developer
Web dan Progressive Web Apps di 2020
Web dan Progressive Web Apps di 2020
Remote Working/Learning
Remote Working/Learning
How to learn programming
How to learn programming
Rapid App Development with AWS Amplify
Rapid App Development with AWS Amplify
Menguak Misteri Module Bundler
Menguak Misteri Module Bundler
Beberapa Web API Menarik
Beberapa Web API Menarik
MVP development from software developer perspective
MVP development from software developer perspective
Ekosistem JavaScript di Indonesia
Ekosistem JavaScript di Indonesia
Perkenalan ReasonML
Perkenalan ReasonML
How I Generate Idea
How I Generate Idea
Strategi Presentasi Untuk Developer Workshop Slide
Strategi Presentasi Untuk Developer Workshop Slide
Lesson Learned from Prolific Developers
Lesson Learned from Prolific Developers
Clean Code JavaScript
Clean Code JavaScript
The Future of AI
The Future of AI
Chrome Dev Summit 2018 - Personal Take Aways
Chrome Dev Summit 2018 - Personal Take Aways
Essentials and Impactful Features of ES6
Essentials and Impactful Features of ES6
Modern Static Site with GatsbyJS
Modern Static Site with GatsbyJS
Introduction to ReasonML
Introduction to ReasonML
Recently uploaded
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Slibray Presentation
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Wonjun Hwang
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
The Digital Insurer
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Zilliz
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
RankYa
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Mattias Andersson
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Recently uploaded
(20)
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
React App Styling With CSS, Styled Components & Inline Styling
1.
<ReactApp />Style With
2.
RIZA,CURRICULUMDIRECTOR,CO-FOUNDER “Hacktiv8 Ada Untuk
Menciptakan Developer Handal Yang Bisa Berjaya Di Negara Sendiri"
3.
riza@hacktiv8.com facebook.com/rizafahmi github.com/rizafahmi medium.com/@rizafahmi22 @rizafahmi22 appscoast.id slideshare.net/rizafahmi Hi, I’m Riza
4.
Let’s talk about
styling
5.
Good Old CSS Brand
New React Styling
6.
Good Old CSS
7.
Options For CSS
8.
CSS Preprocessors
9.
Good Old CSS //
index.css body { margin: 0; padding: 0; font-family: sans-serif; } // App.jsx import './index.css' ReactDOM.render( <App />, document.getElementById('root') )
10.
Styling Your CSS
Using // index.styl border-radius() -webkit-border-radius: arguments -moz-border-radius: arguments border-radius: arguments .cool_button border-radius(5px) // react.js import './index.styl' const CoolButton = () => ( <button className=‘cool_button’>Confirm </button> )
11.
Pros Familiar
12.
Cons
13.
14.
15.
16.
Bad For Dynamic
UI
17.
React-based Styling
18.
19.
// cool.js import styles
from './styles.css' export const CoolButton = (props) => { return ( <button className={styles.red}>{this.props.text} </button> ) } /* styles.css */ .red { font-size: 25px; background-color: red; color: white; }
20.
Pros
21.
22.
Cons
23.
24.
React-Style React Style
25.
import StyleSheet from
'react-style' const styles = StyleSheet.create({ primary: { backgroundColor: 'green' }, button: { padding: '1em' }, // media queries '@media (max-width: 200px)': { button: { width: '100%' } } }) // ... <button styles={[styles.button, styles.primary]}>Confirm </button>
26.
Pros
27.
28.
import styles from
'./styles.js' <button styles={[styles.button, styles.primary]}>Confirm </button>
29.
Cons
30.
31.
32.
33.
Inline Styling
34.
const divStyle =
{ color: 'blue', backgroundImage: 'url(' + imgUrl + ')', WebkitTransition: 'all', msTransition: ‘all’, height: 20, } function App () { return <div style={divStyle}>Hello World! </div> }
35.
Pros
36.
Implement Logic <div> <input onChange={this.handleColorChange}
/> <input type='number' onChange={this.handleSizeChange} /> <p style={{ color: this.state.color, fontSize: this.state.fontSize }} > This paragraph is {this.state.color} and {this.state.fontSize} px </p> </div>
37.
38.
Code Reusability
39.
Style Next To
Markup const divStyle = { color: 'blue', backgroundImage: 'url(' + imgUrl + ')', WebkitTransition: 'all', msTransition: 'all' } function App () { return <div style={divStyle}>Hello World! </div> }
40.
Cons
41.
42.
43.
44.
45.
46.
47.
48.
Let’s have some
question
Download now