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 8114471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:09:19+00:00 2026-06-06T03:09:19+00:00

is it possible using jQuery and CSS to split a div in two, and

  • 0

is it possible using jQuery and CSS to split a div in two, and then animate the two parts separately?

To better explain, see this diagram:

enter image description here
enter image description here

Any help would be much appreciated – thanks in advance.

  • 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-06T03:09:20+00:00Added an answer on June 6, 2026 at 3:09 am

    You can fake it with a pair of container divs like this: jsFiddle example.

    HTML

    <div id="top"><div>Some text here</div></div>
    <div id="bottom"><div>Some text here</div></div>​
    

    CSS

    #top,#bottom {
        background: #333;
        width:200px;
        height:100px;
        position:relative;
        overflow:hidden;
    }
    #top div {
        position:relative;
        top: 90px;
        color:#eee;
        text-align:center;
    }
    #bottom div {
        position:relative;
        top: -10px;
        color:#eee;
        text-align:center;
    }
    

    jQuery

    $('#bottom').delay(2000).animate({
        bottom: '-200px'
    },4000);
    $('#top').delay(2000).animate({
        top: '-200px'
    },4000);
    

    ​

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

Sidebar

Related Questions

Using JQuery it possible to clone a Div like this and change add a
Possible Duplicate: Remove CSS from a Div using JQuery we can set backgroung-image property
Using jQuery and not CSS, is it possible to alternate row colors between records?
I have a feeling that this probably is not possible using strictly CSS, but,
I am wondering if it is possible to animate background url using jQuery, and
I'm using this script http://mondaybynoon.com/2009/02/23/creating-custom-form-elements-using-jquery-selects/ to create custom css select boxes in my page.
I have multiple images within a div, I change thier positions using JQuery $(#+carElem).css({left:
Possible Duplicate: How to show/hide a div on mouseover using jquery? I have a
I am using jquery 1.3.2 library. and (jquery 1.8.7 js and css) Now, $(div
Hard to explain this one, but here it goes: I'm using jQuery to add

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.