Last active
May 17, 2021 11:13
-
-
Save luciandinu/aa99103bee14114c75715e3fa110f834 to your computer and use it in GitHub Desktop.
Custom CSS [Sparkle Tutorials] How to create a price list - part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
#price_menu p { | |
display: flex; | |
justify-content: space-between; | |
} | |
#price_menu p span:last-child { | |
white-space: nowrap; | |
} | |
#price_menu_dots p { | |
display: flex; | |
justify-content: space-between; | |
position: relative; | |
} | |
#price_menu_dots p span:first-child::after { | |
content: ".........................................................................................."; | |
letter-spacing: 4px; | |
font-size: 18px; | |
color: orange; | |
margin-left: 20px; | |
position: absolute; | |
} | |
#price_menu_dots p span:last-child { | |
background-color: #ffffff; | |
padding-left: 20px; | |
z-index: 1; | |
/* Optional fix for multiple row titles | |
display: inline-flex; | |
flex-direction: row; | |
align-items: flex-end; | |
*/ | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment