Skip to content

Conversation

@nest-aka-swan
Copy link

@nest-aka-swan nest-aka-swan commented Nov 7, 2016

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

display: inline-block;
vertical-align: top;
margin-right: 12px;
margin-bottom: 10px;
Copy link

Choose a reason for hiding this comment

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

Можно записать кратко, но не обязательно

index.css Outdated
vertical-align: top;
margin-right: 12px;
margin-bottom: 10px;

Copy link

Choose a reason for hiding this comment

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

А вот от пустых строчек лучше избавиться

.card:hover
{
box-shadow: 1px 4px 8px 0 rgba(0,0,0,.3), 0 6px 20px 0 rgba(0,0,0,.29);
transition: all 400ms ease-out;
Copy link

Choose a reason for hiding this comment

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

👍

index.css Outdated
{
font-size: 1.5em;
display: block;

Copy link

Choose a reason for hiding this comment

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

:(

index.css Outdated
{
color: #a52a2a;
font-size: 1.5em;
margin-right: 4px;
Copy link

Choose a reason for hiding this comment

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

Магические 4 пикселя :)

.photo
{
display: block;
filter: grayscale(.4) brightness(.8);
Copy link

Choose a reason for hiding this comment

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

Очень здорово 👍

index.css Outdated

.photo
{
display: block;
Copy link

Choose a reason for hiding this comment

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

Зачем?

index.css Outdated
{
display: block;
width: 100%;

Copy link

Choose a reason for hiding this comment

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

:(

index.css Outdated
margin: 10px 0;
width: 250px;
text-align: center;

Copy link

Choose a reason for hiding this comment

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

:(

index.css Outdated
-moz-user-select: none;
-ms-user-select: none;
user-select: none;

Copy link

Choose a reason for hiding this comment

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

:(

@vetoshko
Copy link

vetoshko commented Nov 9, 2016

image

Почитай про алгоритм выравнивания по ширине
"Последняя же строка не попадает в поле зрения justify, так как он работает только для целиком заполненных строк, а в последней строке пробелы всегда остаются своего обычного размера."

Вот тут есть крутой хак и хорошее описание

@vetoshko
Copy link

vetoshko commented Nov 9, 2016

Здорово, что сделал анимации по наведению.
Очень круто, что использовал фильтры

@vetoshko
Copy link

vetoshko commented Nov 9, 2016

🚀

@honest-hrundel honest-hrundel assigned mokhov and unassigned vetoshko Nov 9, 2016
@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

@mokhov
Copy link
Contributor

mokhov commented Nov 10, 2016

Общепринятый паттерн что картинка так же является ссылкой и по наведению на картинку ссылка подсвечивается (обратное тоже верно) сделаешь?

Copy link
Contributor

@mokhov mokhov left a comment

Choose a reason for hiding this comment

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

🍅

index.html Outdated
<div class="description">Ленивый домашний кот, 4 месяца, приучен к лотку.
Питается сухим кормом.</div>
</div>
<!--
Copy link
Contributor

Choose a reason for hiding this comment

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

В чём сакральных смысл этих пустых комментариев?

Copy link
Author

@nest-aka-swan nest-aka-swan Nov 11, 2016

Choose a reason for hiding this comment

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

Они нужны, чтобы не было промежутков между inline-block элементами
(они просто сломались при форматировании)

index.css Outdated
.link
{
font-size: 1.5em;
display: block;
Copy link
Contributor

Choose a reason for hiding this comment

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

Делать ссылки блочными плохо, потому что появляются пустые места, которые при этом являются ссылками

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

@mokhov
Copy link
Contributor

mokhov commented Nov 12, 2016

Из фразы

Общепринятый паттерн что картинка так же является ссылкой и по наведению на картинку ссылка подсвечивается (обратное тоже верно) сделаешь?

не реализована часть

картинка так же является ссылкой

🍅

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

@nest-aka-swan
Copy link
Author

🍏

@mokhov
Copy link
Contributor

mokhov commented Nov 15, 2016

Из фразы

Общепринятый паттерн что картинка так же является ссылкой и по наведению на картинку ссылка подсвечивается (обратное тоже верно) сделаешь?

Не реализована часть «обратное тоже верно»

@mokhov
Copy link
Contributor

mokhov commented Nov 15, 2016

🍅

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.

4 participants