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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kazunori-Kimura
January 17, 2017
Technology
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Bootstrapの簡単カスタマイズ
Bootstrap-sassをnode-sassを使用して簡単にカスタマイズする方法について
Kazunori-Kimura
January 17, 2017
More Decks by Kazunori-Kimura
See All by Kazunori-Kimura
path-parser
kazunorikimura
0
400
objectのcloneを行う/How to clone of the object in js
kazunorikimura
0
420
クライアントサイドで大きなデータを扱うときのお話/Web Worker & IndexedDB
kazunorikimura
0
700
How freelance programmer works
kazunorikimura
0
150
moment.js
kazunorikimura
0
130
sequelize.pdf
kazunorikimura
0
620
Toward the world of "ready player one"
kazunorikimura
0
120
npmの便利なパッケージ: forever, winser
kazunorikimura
0
1.1k
npmの便利なパッケージ: Jest
kazunorikimura
0
160
Other Decks in Technology
See All in Technology
plamo-3-translateの開発
pfn
PRO
0
160
Retriever と Reranker、結局どうする?
kazuaki
1
460
AIがAPIを書く時代に、私たちは何を設計すべきか
nagix
0
160
全社でのソフトウェアサプライチェーン攻撃対策をやってみた with Takumi Guard
z63d
0
330
「休む」重要さ
smt7174
7
1.8k
AI駆動開発は個人技からチーム戦へ:組織でAIを使いこなすための実践設計
moongift
PRO
0
160
カメラ×AIで挑む「ホワイト物流」― 車両管理、自動化の壁と突破口【SORACOM Discovery 2026】
soracom
PRO
0
180
ダッシュボード"開発"について 〜使われるダッシュボードのつくりかた〜
kimichan
0
240
システム監視を 「システムを監視するだけ」で 終わらせないために
seiud
0
150
VPCセキュリティ対応の最新事情
nagisa53
1
350
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
110k
検索技術知識0のエンジニアが広告検索システムを内製化して運用するまで
lycorptech_jp
PRO
0
150
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
780
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
230
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
260
Accessibility Awareness
sabderemane
1
160
GitHub's CSS Performance
jonrohan
1033
470k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Docker and Python
trallard
47
4k
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ΑΖ͓͘͠ئ͍͍ͨ͠·͢