Comments (2)
Thanks for replying.
I've created a radio button component which generates an UUID id and an associated <label for="">
.
For the other <label>
s, this is sufficient for now:
label { display:block; /* fixes padding between label text and child elements */ }
from 7.css.
Hello, thanks for raising the concern. Because we are limiting the styling to semantic tags as much as possible, it is why we have to follow this pattern for the inputs.
If we were to support <label><input /></label>
, we had to style all of the labels, which would introduce the collision with other labels that hold no input, and we have no possibility from CSS to select from input to the parent label. One workaround is adding a class to the label, but then it doesn't solve your concern about bloating the HTML.
from 7.css.
Related Issues (20)
- how to window auto height for parent ? HOT 1
- easy and good HOT 1
- [ENHANCEMENT] Desktop icons? HOT 1
- [Menu Bar] Overlapped Dropdown Menu HOT 4
- [Menu Bar] Overlapped Dropdown Menu
- Scrollbar HOT 2
- Bug found at 7.css, IDK any CSS but I have the source HOT 1
- buttons that are both pressed and hover should have a shadow effect HOT 1
- Add Avatar component
- Add list view/table component HOT 2
- HH nfv r r
- Add Taskbar and Start Menu HOT 3
- Tabs aren't working properly HOT 1
- [Dropdown] Inconsistent appearance HOT 3
- Focus Outline Behaviour HOT 1
- Im not surre if is a Issue..... HOT 2
- Help icon in window titlebar missing
- Tabs not working HOT 2
- Add date pickers HOT 1
- Aero window button hover and pressed animations should be activated regardless if the window is active or not.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.