I want create list of menu items with its subvalue.
Like this.
Any help.
Where is the Problem?
I donât really like these open-ended questions, and donât really condone them.
Are you just wanting someone else to write the whole thing for you?
Hi I have created button for cart.
but I want to create button like.
Any Help.
here is my code
<ion-icon name=âremove-circleâ (click)=âdecrement()â>
{{currentNumber}}
<ion-icon name=âadd-circleâ (click)=âincrement()â>
Hello!
Component method follow link: https://ionicframework.com/docs/components/#multiline-list
Menu items works array list, create array list and include components in your menu items.
sorry but i am talking about this button â+â 5 â-â section will you give some detail about that
Follow code:
<div class="btn-group">
<a class="btn pill" href="#">Item 1</a><a class="btn pill" href="#">Item 2</a><a class="btn pill" href="#">Item 3</a>
</div>
CSS:
.btn{
text-decoration:none;
color:#333333;
font-size:12px;
font-weight:bold;
padding:0 15px;
line-height:32px;
height: auto;
display:inline-block;
text-align:center;
background-color:#DDDDDD;
}
.btn.round{
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.btn.pill{
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
border-radius: 16px;
}
.btn-group > .btn.round:not(:first-child):not(:last-child), .btn-group > .btn.pill:not(:first-child):not(:last-child){
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.btn-group > .btn.round:first-child, .btn-group > .btn.pill:first-child{
-webkit-border-top-right-radius: 0;
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomright: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.btn-group > .btn.round:last-child, .btn-group > .btn.pill:last-child{
-webkit-border-top-left-radius: 0;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-topleft: 0;
-moz-border-radius-bottomleft: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.btn-group .btn + .btn{
border-left: 1px solid rgba(0, 0, 0, .1);
margin-left:-1px;
}
Do you change this code ok!