-
Notifications
You must be signed in to change notification settings - Fork 12
Разметка и немного стилей #12
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
base: master
Are you sure you want to change the base?
Conversation
Nikita Korzhavin/cubes.css
Outdated
| } | ||
|
|
||
| body { | ||
| font-family: 'AvenirNext-Bold'; |
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.
You should always use some default fallback font or fonts since in some cases your additional fonts could be unavailable.
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.
i edited homework according comments
i just pushed them, so you can see changed files
Or should i make a new pull request or ...?
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.
changed
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.
Pull request automatically reflects all the changes you push so there is no need to create new pull request
Nikita Korzhavin/cubes.css
Outdated
| width: 800px; | ||
| } | ||
|
|
||
| .bg2 { |
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.
I don't really like this and previous classnames, I'd make them more meaningful.
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.
changed
| height: 600px; | ||
| width: 800px; | ||
|
|
||
| display: -webkit-box; |
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.
Strange delimiters between rules. I'd group some of them together, e.g. rule and its vendor-specific variants.
Also, it is better to place default rule at first and then list its prefixed options.
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.
changed
Nikita Korzhavin/index.html
Outdated
| <body> | ||
| <div class="bg1"> | ||
| <div class="bg2"> | ||
| <article class="widget"> |
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.
You used semantic tag once but why didn't you continue do it through all the file?
Also I don't think that article is an appropriate tag for this widget.
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.
I thought article is for situations when content can be cut from the page without loosing meaning. i thought it's such а situation
What tag fits here best?
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.
Well, article fits better for some independent text content that could be repeat but is not obliged to be presented on the page like blog post or comment. In your case widget is the essential part of the page. I guess that main tag will be better
Nikita Korzhavin/cubes.css
Outdated
| margin-top: 26px; | ||
| } | ||
|
|
||
| .card__1 { |
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.
These are meaningless classnames. You could name them like card__blue etc. based on the color.
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.
changed
svvald
left a comment
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.
It looks good now
28.06.2019
дз по верстке ч.1
03.06.2019
дз по верстке ч.2