Skip to content

Commit 484f968

Browse files
committed
v2.0.0-alpha
1 parent 94985f2 commit 484f968

File tree

5 files changed

+18
-46
lines changed

5 files changed

+18
-46
lines changed

dist/float-label.core.css

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Moved here from https://github.com/anydigital/float-label-css
1+
/* Moved here from https://github.com/anydigital/float-label-css for easier maintenance
22
<!--section:code-->
33
```css */
44
label:has(input:not([type="checkbox"], [type="radio"], [type="range"]), textarea, select),
@@ -29,25 +29,4 @@ label:has(input:not([type="checkbox"], [type="radio"], [type="range"]), textarea
2929
}
3030
}
3131
/*```
32-
<!--section:docs-->
33-
34-
<form>
35-
<label>
36-
<span>Name</span>
37-
<input placeholder="First Last"/>
38-
</label>
39-
<label>
40-
<span>Bio</span>
41-
<textarea placeholder="Write a professional short bio..."></textarea>
42-
</label>
43-
<label>
44-
<span>Cuisine</span>
45-
<select>
46-
<option selected disabled value="">Select your favorite cuisine...</option>
47-
<option>Italian</option><option>Japanese</option><option>Indian</option><option>Thai</option><option>French</option>
48-
</select>
49-
</label>
50-
<input type="submit" value="Subscribe"/>
51-
</form>
52-
5332
<!--section--> */

dist/float-label.css

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/* Moved here from https://github.com/anydigital/float-label-css
1+
/* Float Label CSS v2.0.0-alpha */
2+
/* Moved here from https://github.com/anydigital/float-label-css for easier maintenance
23
<!--section:code-->
34
```css */
45
label:has(input:not([type="checkbox"], [type="radio"], [type="range"]), textarea, select),
@@ -29,27 +30,6 @@ label:has(input:not([type="checkbox"], [type="radio"], [type="range"]), textarea
2930
}
3031
}
3132
/*```
32-
<!--section:docs-->
33-
34-
<form>
35-
<label>
36-
<span>Name</span>
37-
<input placeholder="First Last"/>
38-
</label>
39-
<label>
40-
<span>Bio</span>
41-
<textarea placeholder="Write a professional short bio..."></textarea>
42-
</label>
43-
<label>
44-
<span>Cuisine</span>
45-
<select>
46-
<option selected disabled value="">Select your favorite cuisine...</option>
47-
<option>Italian</option><option>Japanese</option><option>Indian</option><option>Thai</option><option>French</option>
48-
</select>
49-
</label>
50-
<input type="submit" value="Subscribe"/>
51-
</form>
52-
5333
<!--section--> */
5434
label:has(input:not([type="checkbox"], [type="radio"], [type="range"]), textarea, select),
5535
.has-float-label {

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "float-label-css",
3-
"version": "2.0.0-dev",
3+
"version": "2.0.0-alpha",
44
"description": "Bulletproof CSS-only implementation of Float Label pattern with automatic fallback for ANY non-supporting browser.",
55
"repository": {
66
"type": "git",

src

Submodule src updated from cd4eac4 to 74c90c7

0 commit comments

Comments
 (0)