6926

[code]

    <div class="container" style="padding:20px 0">
    <table class="table table-striped table-bordered table-hover table-condensed">
         <thead>
              <tr><th>foo</th><th>bar</th></tr>
         </thead>
         <tbody>
              <tr><td>foo1</td><td>bar1</td></tr>
              <tr class=“warning"><td>foo2</td><td>bar2</td></tr>
              <tr><td>foo3</td><td>bar3</td></tr>
         </tbody>
    </table>
    </div>
    
[/code]

table-hoverがなぜかききません。どうしてでしょうか？


CC BY-SA 3.0
2015-02-21T19:03:00.900
6887
2015-03-25T01:25:37.223
2015-02-23T01:01:20.223
8086
8464
question
html css bootstrap
table-hover が効かない


参考情報ですが、以下のコードでtable-hoverは有効になりました（Bootstrap v3.3.2、Safari Version 8.0.3で検証）。

[code]

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
    </head>
    <body>
        <div class="container" style="padding:20px 0">
            <table class="table table-striped table-bordered table-hover table-condensed">
                <thead>
                    <tr><th>foo</th><th>bar</th></tr>
                </thead>
                <tbody>
                    <tr><td>foo1</td><td>bar1</td></tr>
                    <tr class="warning"><td>foo2</td><td>bar2</td></tr>
                    <tr><td>foo3</td><td>bar3</td></tr>
                </tbody>
            </table>
        </div>
    </body>
    </html>
    
[/code]


CC BY-SA 3.0
2015-02-22T12:55:19.453
6926
2015-02-22T12:55:19.453
33
6887
answer