Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Bootstrapの簡単カスタマイズ
Search
Kazunori-Kimura
January 17, 2017
Technology
250
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
Transcript
12 slides
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ΑΖ͓͘͠ئ͍͍ͨ͠·͢
More Decks by Kazunori-Kimura
See All by Kazunori-Kimura
path-parser
kazunorikimura
0
420
objectのcloneを行う/How to clone of the object in js
kazunorikimura
0
440
クライアントサイドで大きなデータを扱うときのお話/Web Worker & IndexedDB
kazunorikimura
0
700
How freelance programmer works
kazunorikimura
0
150
moment.js
kazunorikimura
0
130
sequelize.pdf
kazunorikimura
0
640
Toward the world of "ready player one"
kazunorikimura
0
120
npmの便利なパッケージ: forever, winser
kazunorikimura
0
1.1k
npmの便利なパッケージ: Jest
kazunorikimura
0
170
Other Decks in Technology
See All in Technology
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
2
640
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.6k
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
150
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
2
660
NutanixへのSSHアクセスの今後について
shadowhat
0
170
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.1k
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
320
Is the Website Dying?
miriamschwab
0
160
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
5
1.9k
データから見る AI時代のエンジニア転職と採用
junya_okura
4
1.3k
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
430
エンジニアに許された特別な時間の終わり
watany
109
250k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Un-Boring Meetings
codingconduct
0
510
[SF Ruby Conf 2025] Rails X
palkan
3
1.6k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
760
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
590
Agile that works and the tools we love
rasmusluckow
331
22k
Optimizing for Happiness
mojombo
378
72k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k