Skip to content

Commit

Permalink
svg to webp
Browse files Browse the repository at this point in the history
  • Loading branch information
lolyparty committed Oct 23, 2020
1 parent 760a34a commit 513dd5c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 181 deletions.
168 changes: 0 additions & 168 deletions img/day.svg

This file was deleted.

Binary file added img/day.webp
Binary file not shown.
11 changes: 0 additions & 11 deletions img/weatherIcon.svg

This file was deleted.

Binary file added img/weatherIcon.webp
Binary file not shown.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="img/weatherIcon.svg">
<link rel="icon" href="img/weatherIcon.webp">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -112,6 +112,7 @@ <h2>Ibadan</h1>
<div class="currentlocation">
<img class="locationweather" src="img/pin (1).svg" alt="weather of current location" />
</div>
<label for="city">Search city weather</label>
<input type="text" name="city" placeholder="Search City" class="searchinput"><button aria-label="Search" class="searchbtn" type="submit"><img class="searchweather" alt="search weather of a city" src="img/icons8-search.svg"/></button>
</div>

Expand Down
5 changes: 4 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

.left{
background: url('img/day.svg');
background: url('img/day.webp');
background-repeat: no-repeat;
background-size: cover;
width:65%;
Expand Down Expand Up @@ -263,6 +263,9 @@
animation:bounce .7s .6s ease infinite;
}

label{
display:none;
}


@keyframes bounce{
Expand Down

0 comments on commit 513dd5c

Please sign in to comment.