Difference between revisions of "Template:2016Demo"
Line 321: | Line 321: | ||
− | /* | + | /*click class for expandable content */ |
#HQ_page .click_open { | #HQ_page .click_open { | ||
padding: 15px; | padding: 15px; | ||
Line 328: | Line 328: | ||
border: 1px solid #d3d3d3; | border: 1px solid #d3d3d3; | ||
border-radius: 3px; | border-radius: 3px; | ||
− | |||
+ | /*animate transition */ | ||
+ | -webkit-transition: background 0.2s linear; | ||
+ | -moz-transition: background 0.2s linear; | ||
+ | -ms-transition: background 0.2s linear; | ||
+ | -o-transition: background 0.2s linear; | ||
+ | transition: background 0.2s linear; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* change the color on hover */ | ||
+ | #HQ_page .click_open:hover { | ||
+ | background-color:#ebeea9; | ||
+ | cursor:pointer; | ||
+ | } | ||
#HQ_page .click_icon { | #HQ_page .click_icon { |
Revision as of 17:11, 30 November 2015