mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
fix some issues in CSS english
This commit is contained in:
parent
500e2855b5
commit
b5409e78f8
@ -48,7 +48,7 @@ div { }
|
|||||||
[attr='value'] { font-size:smaller; }
|
[attr='value'] { font-size:smaller; }
|
||||||
|
|
||||||
/* start with a value*/
|
/* start with a value*/
|
||||||
[attr^'val'] { font-size:smaller; }
|
[attr^='val'] { font-size:smaller; }
|
||||||
|
|
||||||
/* or ends with */
|
/* or ends with */
|
||||||
[attr$='ue'] { font-size:smaller; }
|
[attr$='ue'] { font-size:smaller; }
|
||||||
@ -164,10 +164,10 @@ that consists of the following components.
|
|||||||
margin
|
margin
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
of these components all except margin add to the dimention of the element.
|
of these components all except margin add to the dimension of the element.
|
||||||
|
|
||||||
e.g. border-left: 10px; width: 100px; border-left: 2px; padding-left:5px;
|
e.g. padding-left: 10px; width: 100px; border-left: 2px;
|
||||||
=> effective width of the element 117px (given all right components are zero)
|
=> effective width of the element 112px (given all -right components are zero)
|
||||||
|
|
||||||
*/
|
*/
|
||||||
selector {
|
selector {
|
||||||
|
Loading…
Reference in New Issue
Block a user