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
Bootstrapの簡単カスタマイズ
Search
Kazunori-Kimura
January 17, 2017
Technology
0
240
Bootstrapの簡単カスタマイズ
Bootstrap-sassをnode-sassを使用して簡単にカスタマイズする方法について
Kazunori-Kimura
January 17, 2017
Tweet
Share
More Decks by Kazunori-Kimura
See All by Kazunori-Kimura
path-parser
kazunorikimura
0
380
objectのcloneを行う/How to clone of the object in js
kazunorikimura
0
400
クライアントサイドで大きなデータを扱うときのお話/Web Worker & IndexedDB
kazunorikimura
0
660
How freelance programmer works
kazunorikimura
0
120
moment.js
kazunorikimura
0
97
sequelize.pdf
kazunorikimura
0
580
Toward the world of "ready player one"
kazunorikimura
0
91
npmの便利なパッケージ: forever, winser
kazunorikimura
0
1k
npmの便利なパッケージ: Jest
kazunorikimura
0
130
Other Decks in Technology
See All in Technology
Cloud WANの基礎から応用~少しだけDeep Dive~
masakiokuda
3
120
Amazon Q Developerを活用したアーキテクチャのリファクタリング
k1nakayama
2
220
Kiro と Q Dev で 同じゲームを作らせてみた
r3_yamauchi
PRO
1
120
GISエンジニアよ 現場に行け!
sudataka
1
140
工業高校で学習したとあるエンジニアのキャリアの話
shirayanagiryuji
0
120
【OptimizationNight】数理最適化のラストワンマイルとしてのUIUX
brainpadpr
2
540
Intro to Software Startups: Spring 2025
arnabdotorg
0
280
Telemetry APIから学ぶGoogle Cloud ObservabilityとOpenTelemetryの現在 / getting-started-telemetry-api-with-google-cloud
k6s4i53rx
0
160
文字列の並び順 / String Collation
tmtms
1
110
プロダクトエンジニアリングで開発の楽しさを拡張する話
barometrica
0
210
AWSの最新サービスでAIエージェント構築に楽しく入門しよう
minorun365
PRO
8
460
結局QUICで通信は速くなるの?
kota_yata
8
7.5k
Featured
See All Featured
The Language of Interfaces
destraynor
159
25k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Unsuck your backbone
ammeep
671
58k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Producing Creativity
orderedlist
PRO
347
40k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Speed Design
sergeychernyshev
32
1.1k
Transcript
Bootstrapͷ ؆୯ΧελϚΠζ ଜ ݑن
ࣗݾհ • ଜ ݑن (͖ΉΒ ͔ͣͷΓ) • ϑϦʔϥϯε5 • ۀΞϓϦ։ൃ
• JavaScript, C#, Java, Objective-C, PHP
Bootstrapͱʁ • Twitter͕ެ։͍ͯ͠ΔCSSϑϨʔϜϫʔΫ • HTMLͰదʹclassࢦఆ͢Δ͜ͱͰWebσβ Πϯͷࣝͳ͠ʹιϨφϦͷݟͨʹͳΔ • http://getbootstrap.com/
ͳΜͰΧελϚΠζ͢Δͷʁ • ૉͷ··Ͱ༻͢ΔͱΈΜͳಉ͡ݟͨʹ
bootstrap-sass • ར༻ऀ͕ΧελϚΠζͰ͖ΔΑ͏ʹɺ.scss ϑΝΠϧΛؚΊͨϓϩδΣΫτ • https://github.com/twbs/bootstrap-sass
Sassͱ • CSSϝλݴޠͷͻͱͭ • http://sass-lang.com/
CSSϝλݴޠͱʁ • ίʔσΟϯάޮΛߴΊΔͨΊɺ௨ৗͷCSS ʹҎԼͷΑ͏ͳػೳΛՃͨ͠ݴޠͷ͜ͱ ม ηϨΫλͷωετ ϑΝΠϧͷׂ ϞδϡʔϧԽJNQPSUػೳ NJYJO ؔͷΑ͏ͳػೳ
࢛ଇԋࢉ ੍ޚߏจ
දతͳCSSϝλݴޠ • Sass (SCSS) • less • Stylus • PostCSS
ΧελϚΠζͷखॱ • Node.jsڥ͕͍ͬͯΕ؆୯
node-sassΛ༻ 1. bootstrap-sassΛμϯϩʔυ npm install bootstrap-sass 2. node-sassΛμϯϩʔυ npm install
-g node-sass 3. scssϑΝΠϧΛϓϦίϯύΠϧ node-sass node_modules/bootstrap-sass/assets/stylesheets/ _bootstrap.scss dist/css/bootstrap.min.css --output-style compressed --source-map dist/css/bootstrap.min.css.map
ΧελϚΠζ༻ϓϩδΣΫτ • https://github.com/Kazunori-Kimura/bootstrap- customize-base 1. ϓϩδΣΫτΛμϯϩʔυ git clone
[email protected]
:Kazunori-Kimura/ bootstrap-customize-base.git
2. ࣮ߦ͢Δ͚ͩ npm start
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ 2017ΑΖ͓͘͠ئ͍͍ͨ͠·͢