-
Notifications
You must be signed in to change notification settings - Fork 1
Create doc about CSS #5
base: master
Are you sure you want to change the base?
Conversation
@Niko998 |
css.md
Outdated
@@ -0,0 +1,34 @@ | |||
# CSS | |||
|
|||
**Prerequisite knowledge**: basic html elements, imagination |
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.
What do you mean by "imagination"? Is it something you can learn about? Do we plan to create an article about it?
The initial idea was to list only documents that are describing given topic
|
||
### Apprentice aka _Short skillset description, example: "I can branch!", "My First TODO app"_ | ||
*I know what is a box model, and I know its basic elements (graphical interpretation) | ||
*I know how html elements could be displayed (in line, in line block, flex, table) |
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.
what about block
and none
?
*I can modify elements by ID | ||
*I know the difference between basic selectors (*, #X and .X) | ||
### Intermediate aka _..._ | ||
*I can make website looks like in given template |
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.
Are you going to add more content here? If you have troubles with defining questions for more advanced levels please ping @ bethinkpl/bit - we're happy to help.
Co-Authored-By: Niko998 <[email protected]>
Co-Authored-By: Niko998 <[email protected]>
Co-Authored-By: Niko998 <[email protected]>
Co-Authored-By: Niko998 <[email protected]>
|
||
## Classification / acceptance questions | ||
|
||
### Apprentice aka _Short skillset description, example: "I can branch!", "My First TODO app"_ |
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.
So how would you call a CSS apprentice? This is a placeholder for you to update.
## Classification / acceptance questions | ||
|
||
### Apprentice aka _Short skillset description, example: "I can branch!", "My First TODO app"_ | ||
*I know what is a box model, and I know its basic elements (graphical interpretation) |
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.
Take a look at https://github.com/bethinkpl/bit-docs/blob/49aadb54c96f7f34eecea5044053df7e89965fa6/css.md, formatting is wrong.
### Apprentice aka _Short skillset description, example: "I can branch!", "My First TODO app"_ | ||
*I know what is a box model, and I know its basic elements (graphical interpretation) | ||
*I know how html elements could be displayed (in line, in line block, flex, table) | ||
*I know what is the difference between in line, in line block and flex |
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 would merge it with the previous one.
*I know how html elements could be displayed (in line, in line block, flex, table) | ||
*I know what is the difference between in line, in line block and flex | ||
*I know whats are classes | ||
*I know how inheritance works |
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.
Do you mean cascading?
css.md
Outdated
*I know how inheritance works | ||
*I can change colors and fonts of text | ||
*I can use padding, margin, and border attributes | ||
*I can modify elements by ID |
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.
Modify or apply styles? If the latter, then I'd merge it with the one about classes.
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 would create a more general point about writing css selectors and there you can define different selectors:
- by tag name
- by class
- by id
and more complex like: - by siblings
- by attributes
I would mention somewhere the specifity of selectors (https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity)
*I can modify elements by ID | ||
*I know the difference between basic selectors (*, #X and .X) | ||
### Intermediate aka _..._ | ||
*I can make website looks like in given template |
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 think this is too broad. There are templates that you'll have to be a CSS master to apply.
|
||
## Intro | ||
CSS (Cascading Style Sheets) is a style sheet language used for describing the presentation of document written in a markup language (like HTML). | ||
CSS can improve content accessibility and readability by affecting layout, colors and fonts. Also provide more flexibility and control in the specification of presentation characteristics. |
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.
the second sentence lacks subject.
*I can modify elements by ID | ||
*I know the difference between basic selectors (*, #X and .X) | ||
### Intermediate aka _..._ | ||
*I can make website looks like in given template |
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 this point I would mention stacking context. It's important knowledge and it's a bit more complex than adding colors and changing fonts - https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
Another thing you can mention is browser support, just to let the reader know it's important to check the browser support and different browser quirks when adding styles.
Co-Authored-By: Niko998 <[email protected]>
Co-Authored-By: Niko998 <[email protected]>
**Prerequisite knowledge**: JS apprentice level | ||
* I know how to implent drag/drop feature | ||
* I know how to use web storage | ||
* I know how to use web workers |
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.
IMO these points are related to JS - not HTML
* I can customize <meta> tag | ||
* I can use advantages of HTML5 | ||
* I can attach video, audio or youtube links to my website | ||
### Advanced |
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.
In this point, you can mention about blocking and non-block assets loading methods.
* I can customize <meta> tag | ||
* I can use advantages of HTML5 | ||
* I can attach video, audio or youtube links to my website | ||
### Advanced |
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.
Maybe it's also a place to mention about dataURI as a method for performance improvement
* I can customize <meta> tag | ||
* I can use advantages of HTML5 | ||
* I can attach video, audio or youtube links to my website | ||
### Advanced |
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 can add an info form validation rules introduced in HTML5
* I know how to use web storage | ||
* I know how to use web workers | ||
|
||
### Master |
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.
Let's point contenteditable
here
* I can customize <meta> tag | ||
* I can use advantages of HTML5 | ||
* I can attach video, audio or youtube links to my website | ||
### Advanced |
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.
what do you think about adding svg
element here?
* I know how to use web storage | ||
* I know how to use web workers | ||
|
||
### Master |
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.
srcset
is a nice feature for optimization supported by HTML5
Co-Authored-By: Niko998 <[email protected]>
First version of css file