tail -f /dev/null

If you haven't had any obstacles lately, you're not challenging. be the worst.

bootstrapで基本的な固定サイドメニューを作成する

bootstrap2系

f:id:hrt0kmt:20150114194556p:plain

<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="utf-8">
    <title>test</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/css/general.css" />

    <script type="text/javascript" src="/js/jquery.min.js"></script>
    <script type="text/javascript" src="/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/app.js"></script>
</head>
<body>

<!-- ヘッダー部 -->
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="nav-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">top</a>
        </div><!-- nav-header -->
        <div id="navbar" class="navbar-collapse collapse in" area-expanded="true">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="">お知らせ</a></li>
                <li><a href="">お問い合わせ</a></li>
                <li><a href="">このサイトについて</a></li>
            </ul>
            <form class="navbar-form navbar-right">
                <input type="text" class="form-control" placeholder="検索">
            </form>
        </div><!-- navbar -->
    </div><!-- container-fluid -->
</nav>


<div class="container-fluid">
    <div class="row">
    <div class="clearfix"></div>
    <div class="col-sm-3 col-md-2 sidebar">
        <ul class="nav nav-sidebar">
            <li class="active"><a href="">料理</a></li>
            <li><a href="">アクセス</a></li>
            <li><a href="">皆様のご意見</a></li>
            <li><a href="/questionnaire">アンケート</a></li>
        </ul>
    </div>
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <!-- メインコンテンツ -->
    </div>

</div><!-- container-fluid -->
</body>
</html>