-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lesson 04 #3
base: master
Are you sure you want to change the base?
Conversation
<meta property="og:title" content="Блог обо мне"/> | ||
<meta property="og:description" content="Описание блога обо мне"/> | ||
|
||
<link rel="stylesheet" href="https://necolas.github.io/normalize.css/7.0.0/normalize.css"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
По-хорошему, после нормализации надо задать новые отступы, чтобы контент не прилипал к краям страницы.
} | ||
|
||
.first td:first-child { | ||
display: table-cell; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Из документации для display: table-cell
:
Let the element behave like a element
Но это и так td, дополнительно делать такой display не надо.
} | ||
|
||
.first td { | ||
width: 20%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В таблице с table-layout: fixed
столбцы и так имеют одну ширину, насколько я знаю.
ul > li::before { | ||
display: inline-block; | ||
content: "•"; | ||
color: green; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В задании же "должны быть желтого цвета".
color: navy; | ||
} | ||
|
||
a:hover { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
У ссылок есть и другие состояния, которые можно было стилизовать: active и visited.
No description provided.