Skip to Content
0

how to maintain my choice selected in css

Dec 30, 2016 at 03:17 AM

37

avatar image
Former Member

Hello,everyone.

I just want use css3 to show animation, so I add this code to inforchart:

.inf2{
background: white !important;
}
.inf2:hover{
width:90% !important;
height:90% !important;
background: #808040!important;
}

As I expected,which have a scale effect,but the follow css code false.

.v-info .v-m-root g.v-m-main g.v-m-plot g.v-plot-main g.v-datapoint-group g.v-datapoint.v-morphable-datapoint.v-datapoint-selected rect{
    fill: red !important;
}

when I select one value and my cursor still in inforchart,above code worked,the color changed to red.But if I remove my cursor out of inforchart,the color changed to before.I want to maintain my choice even thought I remove my cursor.how should I do?

Thanks.

Jing

10 |10000 characters needed characters left characters exceeded
Former Member

as follow picture,first is before I move my cursor to inforchart,second is I move my cursor to inforchart and select one value,and when I move my cursor out of inforchart,which should change to picture three,but it changed picture one,I lost my choice.

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers