summaryrefslogtreecommitdiffhomepage
path: root/css.html.markdown
diff options
context:
space:
mode:
authorAmru Eliwat <amru.eliwat@ensighten.com>2016-10-30 22:33:04 -0400
committerAmru Eliwat <amru.eliwat@ensighten.com>2016-10-30 22:33:04 -0400
commit2657960b5da306b2b391c6356da5509fafcc3c0d (patch)
tree7c8c3e9fde049f8bf89d8c4579929f592205b3bd /css.html.markdown
parent0401e0d5f0668c5dcec53146c7bcabbe3be30e87 (diff)
Fixed small typo
Diffstat (limited to 'css.html.markdown')
-rw-r--r--css.html.markdown6
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 */