</> ConvertAtlas Developer Tools
Bootstrap 5 · Beginner

Weather Card

A gradient weather card with current temp and a 4-day forecast.

Requires Bootstrap 5. Add the CDN tags below to your page (styles in <head>, scripts before </body>). The downloaded file already includes them.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<div class="card border-0 text-white" style="max-width:280px;background:linear-gradient(135deg,#2980b9,#6dd5fa)"><div class="card-body">
  <div class="d-flex justify-content-between align-items-start"><div><div class="small opacity-75">Riga, LV</div><div class="display-4 fw-bold">18°</div></div><div class="display-4">⛅</div></div>
  <div class="small opacity-75 mb-3">Partly cloudy · feels like 16°</div>
  <div class="d-flex justify-content-between text-center small"><div><div>Mon</div>☀️<div>20°</div></div><div><div>Tue</div>🌧️<div>15°</div></div><div><div>Wed</div>⛅<div>17°</div></div><div><div>Thu</div>☀️<div>22°</div></div></div>
</div></div>
Free to use.This component uses Bootstrap 5 (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.