Skip to content

Conversation

@Zorin-Alex
Copy link

No description provided.

Aleksandr Zorin added 2 commits June 28, 2019 11:03
.weekday {
border-bottom: 2px solid #8E4140;
padding-top: 15px;
padding-bottom: 10px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zorin-Alex Please look at padding property
You can set it in one line padding: 15px 0 10px 0


.dayWeatherLogo {
padding-left: 15px;
padding-right: 15px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zorin-Alex Please look at padding property
You can set in one line padding: 0 15px

<body>
<article class="weatherWidget">
<div class="location">
<div class="weatherTypeLogo"><img src="img/weather/sunny-big.png" width="50%"></div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zorin-Alex It's better to move width of image to css

<div class="weekdayInformation"><p class="weekday">Fri</p><p class="dayTimeTemp">22 &deg;C</p><p class="nightTimeTemp">20 &deg;C</p></div>
</div>
<div class="day">
<img class="dayWeatherLogo" src="img/weather/cloudy.png" width="70%">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zorin-Alex same case with width for the . dayWeatherLogo. It's much more better to set width property in css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants