TheBootstrapBlog News and announcements for all thingsBootstrap, including new releases,Bootstrap Themes, andBootstrap Icons. Today is a special day forBootstrap. Not only isit our fourth birthday, but after a year of development, we’re finally shipping the firstalpha release ofBootstrap 4. Hell yeah!Bootstrap 4 has been a massive undertaking that touches nearly everyline of code. We’re

そんなSassが町田先生のCustomizedTwitterBootstrapに含まれていたので、これをTwitterBootstrap3に対応させてみたのでした。 ソース こちらが良い感じにしてくれるベースの変数です。 $base-color、$main-color、$accent-color、$base-text-colorを決めることで良い感じにしてくれます。僕は下のファイルみたいなテイストが好きです。ほんわかしている。仕事では使えない感じがある。 実際に読み込むときには、TwitterBootstrapより先に変数を読み込んでおきます。 //--------------------------------------------------------- // Color Scheme forBootstrap @import colors/try @import color

CSS3フレームワークは数多くなってきたのでその特徴をちゃんと掴んでおかないといけないですね。 GumbyはSassを使ったCSS3フレームワークです。他のフレームワークと同じようにレスポンシブ、モバイルフレンドリーになっています。その特徴を見ていきましょう。 まずデスクトップからです。 ヘッダーバー。フラットだったり、幅が固定だったりと色々な形式が想定されています。 タイポグラフィ。可読性高いです。 リストだけでも黒丸、白丸、ドット、数字など多数用意されています。さらに定義リストまで! ボタン。サイズ、色、形が様々です。片方だけ丸い、なんて便利そうですね。 インジケーターやラベル、アラート。こういうのもよく使いますよね。 フォーム。基本的にplaceholderを使った表示になっているようです。 テーブル。角丸サポートです。 タブ。幅が設定できます。 縦のタブもあります。 ドロワー。クリ
twitterbootstrapを更に便利に使うgemがtwitterbootstraprailsです。railsアプリを作りましょう。 rvmでgem set作ります。 rvm --create 1.9.3-p125@tbrsamplerailsアプリ生成します。 gem installrails --no-ri --no-rdocrails new tbrsample gemを指定しましょう。 Gemfileのgroup :assetsに追加します。 cd tbrsamplevim Gemfile gem "twitter-bootstrap-rails" どんbundle install --without=productionbootstrapをgenerateしましょう。 必要なjsやcssをapp/assets配下に配置します。rails g bootst

The document discussesTwitterBootstrap, an open-source front-end web development framework.It provides information onBootstrap's history and features, includingits grid system, typography, forms, buttons, navigation and other components. The document also offers tips on getting started withBootstrap, customizingit using LESS, and related tools and resources.
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く