File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ < section class ="container ">
2+ < div class ="radio-group ">
3+ < p > Salutation</ p >
4+ < pf-radio value ="mr " name ="title " label ="Mr "> </ pf-radio >
5+ < pf-radio value ="miss " name ="title " label ="Miss "> </ pf-radio >
6+ < pf-radio value ="mrs " name ="title " label ="Mrs "> </ pf-radio >
7+ < pf-radio value ="ms " name ="title " label ="Ms "> </ pf-radio >
8+ < pf-radio value ="dr " name ="title " label ="Dr "> </ pf-radio >
9+ < pf-radio value ="other " name ="title " label ="Other "> </ pf-radio >
10+ </ div >
11+ < div class ="radio-group ">
12+ < p > Score</ p >
13+ < pf-radio value ="a " name ="score " label ="A "> </ pf-radio >
14+ < pf-radio value ="b " name ="score " label ="B "> </ pf-radio >
15+ < pf-radio value ="c " name ="score " label ="C "> </ pf-radio >
16+ </ div >
17+ < pf-button > Submit</ pf-button >
18+ </ section >
19+
20+ < script type ="module ">
21+ import '@patternfly/elements/pf-radio/pf-radio.js' ;
22+ import '@patternfly/elements/pf-button/pf-button.js' ;
23+ </ script >
24+
25+ < style >
26+ .container {
27+ padding : 3rem ;
28+ }
29+ .container p {
30+ font-size : 1.5rem ;
31+ margin-block-end : 0.5rem ;
32+ }
33+ .radio-group {
34+ display : flex;
35+ justify-content : flex-start;
36+ padding-bottom : 1rem ;
37+ }
38+ .radio-group pf-radio {
39+ padding-right : 1rem ;
40+ }
41+ </ style >
42+
You can’t perform that action at this time.
0 commit comments