runtimeZero runtimeZero - 1 month ago 4x
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 ?


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="" />