content logo

Bootstrap Cards:

Bootstrap Weather Forecast Card

Interfaces that use card designs have become extremely popular. Using cards is a great technique for modern desktop or mobile websites. In fact, we can safely state that cards have become a staple in the web design industry. It goes without saying that card designs are really simple, flexible, intuitive, and have a nice style to them. These stylish little tools can be exactly what your website needs to achieve its maximum potential. They are entirely based on presenting content and information on simple panels for more intuitiveness and more unique designs. The logic behind this concept is to avoid writing lengthy texts and display the information in a more scannable manner. The cards are also extremely easy to use. Even if a user is not familiar with the concept of cards in a website, they will instantly know how to use them.

A really cool and useful card you can use in your website to really catch the visitors’ attention is a weather card. These responsive bootstrap cards display weather forecast and features such as date, day of the week, temperature, etc. the code for this Bootstrap beautiful card is also provided down below so you can add these great Bootstrap cards to your own website.

#

Bootstrap Card

#

Responsive Bootstrap Card

#

Weather Card

#

Bootstrap Beautiful Card

<!-- This script got from frontendfreecode.com -->
<div class="main container">
  <div class="row">
    <div class="col-xs-12">
      <div class="col-xs-12 col-sm-6 col-sm-offset-3 col-lg-4 col-lg-offset-4 weather-panel">
        <div class="col-xs-6">
          <h2>Lucerne<br><small>May 24, 2016</small></h2>
          <p class="h3"><i class="mi mi-fw mi-lg mi-rain-heavy"></i> Rainy</p>
        </div>
        <div class="col-xs-6 text-center">
          <div class="h1 temperature">
            <span>12°</span>
            <br>
            <small>8° / 13°</small>
          </div>
        </div>
        <div class="col-xs-12">
          <ul class="list-inline row forecast">
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Wed</h3>
              <p><i class="mi mi-fw mi-2x mi-cloud-sun"></i><br>9°/18°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Thu</h3>
              <p><i class="mi mi-fw mi-2x mi-sun"></i><br>12°/23°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Fri</h3>
              <p><i class="mi mi-fw mi-2x mi-cloud-sun"></i><br>14°/24°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Sat</h3>
              <p><i class="mi mi-fw mi-2x mi-rain"></i><br>15°/23°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Sun</h3>
              <p><i class="mi mi-fw mi-2x mi-rain-heavy"></i><br>15°/22°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Mon</h3>
              <p><i class="mi mi-fw mi-2x mi-clouds"></i><br>12°/17°</p>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
.main {
    margin-top: 50px;
}
.weather-panel {
    background-image: url("https://frontendfreecode.com/img/whether.jpg");
    background-size: cover;
    border-radius: 20px;
    box-shadow: 25px 25px 40px 0px rgba(0, 0, 0, 0.33);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.weather-panel small {
    color: inherit;
    font-size: 50%;
}
.weather-panel ul.forecast > li {
    border-top: 1px solid #fff;
}
.weather-panel .temperature > span {
    font-size: 2em;
}
<link href="http://frontendfreecode.com/codes/files/meteocons.min.css" rel="stylesheet">
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link href="http://frontendfreecode.com/codes/files/meteocons.min.css" rel="stylesheet">
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<style>
.main {
    margin-top: 50px;
}
.weather-panel {
    background-image: url("https://frontendfreecode.com/img/whether.jpg");
    background-size: cover;
    border-radius: 20px;
    box-shadow: 25px 25px 40px 0px rgba(0, 0, 0, 0.33);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.weather-panel small {
    color: inherit;
    font-size: 50%;
}
.weather-panel ul.forecast > li {
    border-top: 1px solid #fff;
}
.weather-panel .temperature > span {
    font-size: 2em;
}
</style>

</head>
<body>
<div class="main container">
  <div class="row">
    <div class="col-xs-12">
      <div class="col-xs-12 col-sm-6 col-sm-offset-3 col-lg-4 col-lg-offset-4 weather-panel">
        <div class="col-xs-6">
          <h2>Lucerne<br><small>May 24, 2016</small></h2>
          <p class="h3"><i class="mi mi-fw mi-lg mi-rain-heavy"></i> Rainy</p>
        </div>
        <div class="col-xs-6 text-center">
          <div class="h1 temperature">
            <span>12°</span>
            <br>
            <small>8° / 13°</small>
          </div>
        </div>
        <div class="col-xs-12">
          <ul class="list-inline row forecast">
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Wed</h3>
              <p><i class="mi mi-fw mi-2x mi-cloud-sun"></i><br>9°/18°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Thu</h3>
              <p><i class="mi mi-fw mi-2x mi-sun"></i><br>12°/23°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Fri</h3>
              <p><i class="mi mi-fw mi-2x mi-cloud-sun"></i><br>14°/24°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Sat</h3>
              <p><i class="mi mi-fw mi-2x mi-rain"></i><br>15°/23°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Sun</h3>
              <p><i class="mi mi-fw mi-2x mi-rain-heavy"></i><br>15°/22°</p>
            </li>
            <li class="col-xs-4 col-sm-2 text-center">
              <h3 class="h5">Mon</h3>
              <p><i class="mi mi-fw mi-2x mi-clouds"></i><br>12°/17°</p>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview