Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8105911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:17:49+00:00 2026-06-06T00:17:49+00:00

I am trying to fadeout the border of a html label using jQuery. After

  • 0

I am trying to fadeout the border of a html label using jQuery. After searching a lot, I get to know that .animate() function of jQuery may be useful for that. But I am not able to implement it correctly. Here is the the jsfiddle on which, I am working on.
I tried using $("#lbl").animate({border-bottom: 'border-bottom: 1px solid #D8D8D8'}); in the button clicked method. But it didn’t work. Please let me know, what am I doing wrong? OR Is there any other way to achieve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:17:50+00:00Added an answer on June 6, 2026 at 12:17 am

    Use jQuery UI and animate the border color as follows:

    $("#lbl").animate({
        "border-color": "#fff"
    });
    

    DEMO: http://jsfiddle.net/7Vc9u/9/


    UPDATE. It seems that border-color (or borderColor) is not that cross-browser property for animating and it doesn’t work in FF and IE (see comment below). We can change properties of each border separately. It should work fine.

    $("#lbl").animate({
        "borderBottomColor": "#fff",
        "borderLeftColor": "#fff",
        "borderRightColor": "#fff",
        "borderTopColor": "#fff"
    });
    

    DEMO: http://jsfiddle.net/7Vc9u/11/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get both a fadeIn (opacity toggle) and border fade (using jquery-animate-colors
I'm using jQuery's animate() and it just doesn't work. I'm trying to get a
I'm trying to fadeIn and fadeOut a transparent png using JQuery. Of course, it
I am trying to perform the following fadeIn/fadeOut action within the jQuery $.post function.
I am trying to use jQuery to fade out a div, using the fadeOut
I m trying to show and hide some elements(span) using jquery fadeIn and fadeOut
http://jsfiddle.net/nFFuD/ I'm trying to animate the search field in this example using jquery, making
I'm trying to find/make a good jquery drop-down menu with animation (fadein/fadeout or slidedown)
I am having two problems. First: Trying to submit this form using jquery. When
I am trying to create a jQuery fadeIn fadeout effect for my page content

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.