before and after versions and using filter function.checked function on buttons and create styles.box-shadow: inset.display: none also changing mouse with cursor: pointer.In this tutorial we will create lighted boxes with different colors. When the box is selected it will take his effect. We will also create inside shadows to give more effect. If you follow this tutorial download all files from my github page and change the values. You can use comment mark(/*between these marks*/) to deactivate codes and test it. With this way it will be more useful for you and you can test and understand the codes better.
1- Before you start be sure that you run our sass code in the directory of site files. Our command is sass --watch sass:css. It will translate all codes that you write in scss file to css file. After that, write a basic html file on root directory and into body section we have one division and 10 labels in it
2- We starting to center our object to out page and defining some styles here. With box shadow and border radius we make this object more stylish. Here we also code our text and we set here a border bottem with darkred color
3- Here we change our mouse cursor and also removing radio buttons. In span class we are sizing the text boxes and define some border with radius.
4- With :checked option we give our styles when it selected. With its before and after we define our lighting effect. without specifically color for each button.
5- Last step is defining colors for each button and also giving some inside shadow with using box-shadow: inset.
6- And finally our end work...
https://github.com/omersurer/Sass-Scss-Tutorials/tree/master/Lighting_the_buttons