Skip to content

Commit b5079b6

Browse files
committed
code syntax formatting
1 parent ef0d7b7 commit b5079b6

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

README.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ And three shapes `p-round` `p-curve` `p-square` (default)
106106
#### Basic checkbox
107107

108108
```html
109-
<div class="pretty p-default">
110-
<input type="checkbox">
111-
<div class="state">
112-
<label>Check me</label>
113-
</div>
114-
</div>
109+
<div class="pretty p-default">
110+
<input type="checkbox" />
111+
<div class="state">
112+
<label>Check me</label>
113+
</div>
114+
</div>
115115
```
116116

117117
Basic checkbox has three variants `p-fill` `p-thick` `p-outline` (default)
@@ -120,10 +120,10 @@ You can combine them.
120120

121121
```html
122122
<div class="pretty p-default p-curve p-fill">
123-
<input type="checkbox" />
124-
<div class="state">
125-
<label>Fill</label>
126-
</div>
123+
<input type="checkbox" />
124+
<div class="state">
125+
<label>Fill</label>
126+
</div>
127127
</div>
128128
```
129129

@@ -134,26 +134,26 @@ You can combine them.
134134
Switch has three variants `p-outline` `p-fill` `p-slim`
135135

136136
```html
137-
<div class="pretty p-switch p-fill">
137+
<div class="pretty p-switch p-fill">
138138
<input type="checkbox" />
139139
<div class="state">
140-
<label>On</label>
140+
<label>On</label>
141141
</div>
142-
</div>
142+
</div>
143143
```
144144

145145
<div align="center"><strong >---</strong></div>
146146

147147
#### Custom Font icons
148148

149149
```html
150-
<div class="pretty p-icon">
151-
<input type="checkbox">
152-
<div class="state">
153-
<i class="icon fa fa-check"></i>
154-
<label>Check me</label>
155-
</div>
156-
</div>
150+
<div class="pretty p-icon">
151+
<input type="checkbox">
152+
<div class="state">
153+
<i class="icon fa fa-check"></i>
154+
<label>Check me</label>
155+
</div>
156+
</div>
157157
```
158158

159159
<blockquote>
@@ -175,13 +175,13 @@ Switch has three variants `p-outline` `p-fill` `p-slim`
175175
#### SVG
176176

177177
```html
178-
<div class="pretty p-svg">
179-
<input type="checkbox">
180-
<div class="state">
181-
<img class="svg" src="file.svg">
182-
<label>Check me</label>
183-
</div>
184-
</div>
178+
<div class="pretty p-svg">
179+
<input type="checkbox">
180+
<div class="state">
181+
<img class="svg" src="file.svg" />
182+
<label>Check me</label>
183+
</div>
184+
</div>
185185
```
186186

187187
Support, SVG file in img tag, svg markup (`<svg> ... </svg>`)
@@ -200,11 +200,11 @@ Checkout the documentation for different formats and tested svg libraries.
200200

201201
```html
202202
<div class="pretty p-image">
203-
<input type="checkbox" />
204-
<div class="state">
205-
<img class="image" src="/check.png">
206-
<label>Block</label>
207-
</div>
203+
<input type="checkbox" />
204+
<div class="state">
205+
<img class="image" src="/check.png" />
206+
<label>Block</label>
207+
</div>
208208
</div>
209209
```
210210

@@ -228,10 +228,10 @@ And five outline colors `p-primary-o` `p-success-o` `p-warning-o` `p-info-o` `p
228228

229229
```html
230230
<div class="pretty p-default p-curve p-thick">
231-
<input type="checkbox" />
232-
<div class="state p-warning">
233-
<label>Warning</label>
234-
</div>
231+
<input type="checkbox" />
232+
<div class="state p-warning">
233+
<label>Warning</label>
234+
</div>
235235
</div>
236236
```
237237
<blockquote>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy