diff options
author | Geoff Liu <cangming.liu@gmail.com> | 2016-10-30 23:35:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-30 23:35:08 -0400 |
commit | 92561f89711a2e9344fa7e06e22fa36855771d74 (patch) | |
tree | 75d71e1742bd5fc77d4ff15c517ca2d6e10f4154 /css.html.markdown | |
parent | 66f2062b09c2b37f823610d800476bb882d5194f (diff) | |
parent | 2657960b5da306b2b391c6356da5509fafcc3c0d (diff) |
Merge pull request #2545 from amrue/css-en
[css/en] Fixed small typo
Diffstat (limited to 'css.html.markdown')
-rw-r--r-- | css.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/css.html.markdown b/css.html.markdown index 1c569d04..3b378d44 100644 --- a/css.html.markdown +++ b/css.html.markdown @@ -169,9 +169,9 @@ selector { color: transparent; /* equivalent to setting the alpha to 0 */ color: hsl(0, 100%, 50%); /* as hsl percentages (CSS 3) */ color: hsla(0, 100%, 50%, 0.3); /* as hsl percentages with alpha */ - + /* Borders */ - border-width:5px; + border-width:5px; border-style:solid; border-color:red; /* similar to how background-color is set */ border: 5px solid red; /* this is a short hand approach for the same */ @@ -261,7 +261,7 @@ recommended that you avoid its usage. ## Media Queries -CSS Media Queries are a feature in CSS 3 which allows you to specify when certain CSS rules should be applied, such as when printed, or when on a screen with certain dimensions or pixel density. They do not add to the selector's specifity. +CSS Media Queries are a feature in CSS 3 which allows you to specify when certain CSS rules should be applied, such as when printed, or when on a screen with certain dimensions or pixel density. They do not add to the selector's specificity. ```css /* A rule that will be used on all devices */ |