How to get effect in ion-button

HI!

How to get this effect in ion-button?

I usage ionic 5.

Use this inside your <style scoped>


ion-button{
  --background:yellow;
  border:2px solid black;
  font-size:29px;
  font-weight:bold;
  color:black;
  border-radius:5px;
}
1 Like

Thanks @tguimmaraess!

But, I got it like this:

--box-shadow: inset 3px 3px 0px white, 3px 3px 0px #fdde3e;
--background: #fdde3e;

Solved!

3 Likes

Cool! That’s even better.