runtimeZero runtimeZero - 1 year ago 66
CSS Question

bootstrap panel class not getting applied

For some reason bootstraps panel class doesn't seem to be getting applied here:

<div class="container main-content">

<div class="row">

<div class="col-sm-3">

<div class="panel panel-primary">
<div class="panel-heading">
<img src="" class="stats-image" />
<div class="panel-body stats-body">
<span class="stats-value">37%</span>

Plnkr here:

what am i missing here ?

Answer Source

You are using Bootstrap 4 alpha 2 which might not be having panel support. I couldn't find panel documentation here:

Instead, try using bootstrap 3.3.6 in the plunk

<link data-require="bootstrap-css@3.3.6" data-semver="3.3.6" rel="stylesheet" href="" />
<link data-require="bootstrap@3.3.6" data-semver="3.3.6" rel="stylesheet" href="" />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download