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

  • Home
  • SEARCH
  • 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 8127719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:37:44+00:00 2026-06-06T07:37:44+00:00

I have been learning css & jquery. <!DOCTYPE html> <html> <head> <style type=text/css> #box

  • 0

I have been learning css & jquery.

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#box
{
 border-style:solid;
 border-color:red;
 height: 80px;
 width: 180px;
}
</style>
</head>

<body>
<div id="box">Demo Box</div>
</body>
</html>

what i am trying to achieve is the border color should appear from left top and flow to create a box border around the division. it seems impossible just want to know expert guidance if this could be done.

*Edit MobyD thanks ” like a tron bike “

  • 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-06T07:37:47+00:00Added an answer on June 6, 2026 at 7:37 am

    Assuming you want an animation around the box, it could be arranged by animating a sequence of lines, each animation triggering the next, as it finishes.

    addLine1();
    line1.animate({ width: width-of-box }, duration, function() {
       addLine2();
       line2.animate({ height: height-of-box }, duration, ... );
    });
    

    Each line would have to be positioned at its appropriate corner.

    Demo

    A neater recursive solution could probably be built, but it’s something along these lines that you’d have to go with. The border property itself cannot be animated in this manner.

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

Sidebar

Related Questions

I'm not a very experience programmer and have been learning HTML/CSS/JS on the fly.
I have been hearing so much about Sencha Touch HTML/CSS/JQuery things. I want to
I am pretty new at CSS but have been learning, doing my moms small
I've been learning about CSS Sprites. I have been skeptical because cross-browser compatibility is
I've just recently started learning HTML/CSS and I've been trying to teach myself sound
I am still learning the tricks to jQuery mobile and have been having a
I've recently begun my journey of learning CSS, and have been studying Gmail's design,
I have been learning NodeJS recently. It seems to be standard in the Node
I have been learning about Delegation and Data Sources for iOS programming and need
I have been learning Hibernate for the past few weeks, I have gotten most

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.