coolio83000 coolio83000 - 2 months ago 7
Sass (Sass) Question

checkbox label doesn't work on IE

Hello i want to use a the codepen plugin pure css cookie bar but when I click on

<label for="checkbox-cb" class="close-cb">X</label>


the cookie bar doesn't close in IE9, i don't know what i'm in front of this problem ?

HERE IS THE CODEPEN OR JSFIDDLE THAT I WANT TO USE

http://codepen.io/natewiley/pen/uGtcD
https://jsfiddle.net/kodjoe/L2pw9752/3/

Answer

I've added my own function via js, my goal is to slide up when i click on X, thank you for all your help ;D

$(function(){
$('.close-cb').click(function(){
$('.cookie-bar').slideUp();
});
});
Comments