Skip to content

Commit 2bef33f

Browse files
committed
Update README.md
1 parent 187b70f commit 2bef33f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,23 +163,23 @@ As soon as you apply a basic style sheet or an inline style to a page, you have
163163

164164
**1. CSS3 Selectors:**
165165

166-
* Matches any element E whose attribute attr starts with the value val. In other words, the val matches the beginning of the attribute value.
166+
* Matches any element **E** whose attribute **attr** starts with the value **val**. In other words, the val matches the beginning of the attribute value.
167167

168168
```css
169169
E[attr^=val]
170170
/* Example */
171171
a[href^='http://sales.']{color: teal;}
172172
```
173173

174-
* Matches any element E whose attribute attr ends in val. In other words, the val matches the end of the attribute value.
174+
* Matches any element **E** whose attribute **attr** ends in **val**. In other words, the val matches the end of the attribute value.
175175

176176
```css
177177
E[attr$=val]
178178
/* Example */
179179
a[href$='.jsp']{color: purple;}
180180
```
181181

182-
* Matches any element E whose attribute attr matches val anywhere within the attribute. It is similar to E[attr~=val], except the val can be part of a word.
182+
* Matches any element **E** whose attribute **attr** matches **val** anywhere within the attribute. It is similar to E[attr~=val], except the val can be part of a word.
183183

184184
```css
185185
E[attr*=val]
@@ -267,9 +267,9 @@ Syntax: background: linear-gradient(direction, color-stop1, color-stop2, ...);
267267

268268
**8. Radial Gradients:**
269269

270-
```css
271-
Syntax : background: radial-gradient(shape size at position, start-color, ..., last-color);
272-
/* Example */
270+
**Syntax:** background: radial-gradient(shape size at position, start-color, ..., last-color);
271+
272+
```css
273273
#grad {
274274
background: radial-gradient(red, yellow, green);
275275
}//Default

0 commit comments

Comments
 (0)