title: implement segment button using html, css and bootstrap
body: <p>I need to implement a <a href="https://ionicframework.com/docs/api/segment" rel="nofollow noreferrer">segment button</a> using only HTML, CSS and bootstrap as shown in the below picture. many people confuse between toggle and segment buttons. toggle-button toggles between on-click but the segment button can have multiple buttons and will toggle only on clicking the particular button. In my case, I need to implement only 2 buttons within 1 segment button. if my statement confuses, please follow the link and there is an example. any help is appreciated. thank you.
  <a href="https://i.stack.imgur.com/CDWeq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CDWeq.png" alt="segment button" /></a></p>