I want to know if my approach on share details is ok with CSS and JS?
For example: creating two divs (share-details = facebook twitter pinterest icons) one for desktop and one for mobile.
Thanks
I want to know if my approach on share details is ok with CSS and JS?
For example: creating two divs (share-details = facebook twitter pinterest icons) one for desktop and one for mobile.
Thanks
Instead of creating two divs we can change style of share div in mobile and desktop view accordingly. One issue in current solution is desktop view share social media icons are not visible. So if you keep only one div then such mistake can be avoided and only style will change, else code duplication will increase and it becomes hard to debug.
I had a little difficulty with the alignment of the background images.
We can use multiple background images and specify the background position of each images. Example:- background-image: url("image1"), url("image2"); background-position: right top, left bottom;