Weather widget
How do I make an weather widget?
Use-case for meteocons.css https://tomlutzenberger.github.io/meteocons.css/. What is a weather widget? How do you make a weather widget? This script and codes were developed by Tom Lutzenberger on 24 August 2022, Wednesday.
Weather widget - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Weather widget</title> <link href="https://tomlutzenberger.github.io/meteocons.css/dist/meteocons.min.css" rel="stylesheet"> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</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>
</body>
</html>
Weather widget - Script Codes CSS Codes
.main { margin-top: 50px;
}
.weather-panel { background-image: url("https://unsplash.it/600/400?image=1043&blur"); 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;
}
Developer | Tom Lutzenberger |
Username | tomlutzenberger |
Uploaded | August 24, 2022 |
Rating | 3 |
Size | 2,486 Kb |
Views | 50,600 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Hxgn | 4,203 Kb |
Palindrome check | 2,177 Kb |
Square-Box Vertical Center - Method 2 | 2,701 Kb |
Pseudo ASCII-Art | 10,362 Kb |
CSS Folders | 2,614 Kb |
Standard Template | 1,454 Kb |
Square-Box Vertical Center | 2,774 Kb |
Auto-scaling iframes | 3,057 Kb |
A Pen by Tom Lutzenberger | 2,530 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Word Wrap Algorithm for Multiline Canvas Text | Peterhry | 2,349 Kb |
Beautiful canvas stars | Matths | 2,399 Kb |
Pure CSS Spinners | Jlong | 2,043 Kb |
CSS Grid Overlay | Cliffpyles | 3,090 Kb |
Text Looping Transition | Agelber | 5,619 Kb |
STAR WARS LIGHTSABER | Francoiscoron | 4,420 Kb |
Fun animations with CSS3 | Minimalmonkey | 2,360 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Animated bar chart | CreativePunch | 3,124 Kb |
Scarlett Johansson Tribute Page | Diomed | 3,233 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!