Skip to content

practice-html-and-css-rwd module tasks complete#162

Open
kacpermak1 wants to merge 6 commits intodevmentor-pl:masterfrom
kacpermak1:master
Open

practice-html-and-css-rwd module tasks complete#162
kacpermak1 wants to merge 6 commits intodevmentor-pl:masterfrom
kacpermak1:master

Conversation

@kacpermak1
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Kacprze,

Zadania wykonane super! 👍
Mam tylko uwagę do samych selektorów css - szczegóły w komentarzach ;)

Comment thread 01/style.css
border: 150px solid #dcdcdc;
border-right-color: transparent;
border-bottom-color: transparent;
shape-outside: polygon(0 0, 100% 0, 0 100%);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

Comment thread 02/styles/global.css
.c {
grid-column: 1;
grid-row: 2;
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

Comment thread 03/index.html
<div class="container">
<header class="p">
<picture>
<source media="(min-width: 1200px)" srcset="assets/images/frog-large.jpg">
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Warto dodać parę, aby było widać kiedy, jaki obraz się wczytuje :)

Comment thread 03/styles/global.css
.v {
grid-column: 1;
grid-row: 2;
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

Comment thread 04/index.html
Comment on lines +27 to +30
<span class="header-nav__title">
Items
<span class="header-nav__arrow header-nav__arrow--down">></span>
</span>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Można też dodać odpowiednią klasę do span i utworzyć strzałkę z poziomu css :)

Comment thread 04/styles/index.css
Comment on lines +57 to +58
.header-nav__list>.header-nav__item>.header-nav__link,
.header-nav__list>.header-nav__item>.header-nav__title,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Lepiej nadać klasę i ją wykorzystać. Wtedy selektor CSS jest mniej skomplikowany, jest mniej zależności, co czyni go czytelniejszym :)

PS. Nie pisząc osobiście tego znacznika, trudno jest mi się zorientować na pierwszy rzut oka co to za element ;)

Comment thread 05/index.html
Comment on lines +17 to +21
<span class="header__hamburger-inner">
<span class="header__hamburger-line"></span>
<span class="header__hamburger-line"></span>
<span class="header__hamburger-line"></span>
</span>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Można też kombinować z border top-bottom oraz ::after ;)

Comment thread 05/styles/index.css
Comment on lines +85 to +86
.content-section--two-columns .content-section__column:not(:last-child),
.content-section--three-columns .content-section__column:not(:last-child) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Tak jak pisałem wcześniej - może wystarczy najprostsza klasa ;)

PS. Nie narzucam, sam oceń jak Ci wygodniej - tylko zwracam uwagę ;)

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