[HELP jQuery] remove something from CSS

Status
Not open for further replies.

TrueJewix

Member
Aug 9, 2012
332
21
#nav { border-bottom: 2px solid #EFEFEF;}

How do I make it when I click .something it removes that #nav { border-bottom: 2px solid #EFEFEF;}
 

RastaLulz

fight teh power
Staff member
May 3, 2010
3,935
3,936
You want to remove all style properties related to #nav? If so, look into and .
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
Code:
<div id="clickme">
  Click here
</div>
Code:
// Hide the element:
$( "#clickme" ).click(function() {
  $( "#nav" ).hide( "slow", function() {
    alert( "Animation complete." );
  });
});
 

TrueJewix

Member
Aug 9, 2012
332
21
Code:
<div id="clickme">
  Click here
</div>
Code:
// Hide the element:
$( "#clickme" ).click(function() {
  $( "#book" ).hide( "slow", function() {
    alert( "Animation complete." );
  });
});
fuck it ill just show the whole code

#nav {
/*background-color: rgba(0, 0, 0, 0.19);*/
/*background-color: rgba(255, 255, 255, 0);*/
/*border-bottom: solid 5px rgba(0, 0, 0, 0.05);*/
background-color: rgba(255, 255, 255, 0.63);
transition: all 2s ease-in-out;
-webkit-transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out
position: relative;
background-color: white;
border-bottom: 2px solid #EFEFEF;
font-weight: bold;
}
is what I got, but I specifally want to remove border-bottom: 2px solid #EFEFEF;
 

TrueJewix

Member
Aug 9, 2012
332
21
lmao i did
<script>
$(document).ready(function(){
$(".border-menu").click(function(){
$("#nav").css("border-bottom", "0px solid #EFEFEF");
});
});
</script>

thanks u may close or remove thread
 
Status
Not open for further replies.

Users who are viewing this thread

Top