Skip to content

Tag: css

Add vertical line along tree view when expanded

I am trying to add a vertical line along first li elements when they are expanded and remove when they are closed but its not coming out. Will li::after not do the job?. please help me with this. This vertical line should be along the first level of heirarchy only I have created a treeview with three list ite…

Hover, removeclass First Element and add other Element

I am trying to create a function that always the first Element receives a class = “actived” this class has a css style that marks the element in question I have a list of 4 lines and in them I want the first to receive this class by default and the other 3 when I hover receive this class =

jQuery font size wrong result

I am trying to write a script to help disabled people to read the site. On a button click, I’d like to increase all font-size in my page. However the script sets wrong values. The code is the following: However, it give me back totally wrong increased number. For example when the current font size was 1…

Progress circle bar in React JS

I am creating a progress circle bar to use as a timer along with sliders, where each slide will have its own bar I could achieve it, however I couldn’t synchronize the bars with themselves. This is what is happening: As you see it is not working properly. I need the bar to fill 100% of the circle, then …