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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:14:52+00:00 2026-06-12T16:14:52+00:00

It seems with HTML5/CSS3, there is a larger push towards CSS-only animations, effects, navigations,

  • 0

It seems with HTML5/CSS3, there is a larger push towards CSS-only animations, effects, navigations, etc.

Is this purely because of the tendency of C/Java/etc developers to use JavaScript ‘incorrectly’ (mostly in a semantic sense, I guess)?

Or is there an advantage of CSS over JavaScript? If so, why would CSS be better? Is it faster?

Also, semantically-speaking, shouldn’t CSS only be used for styling/positioning? So is CSS starting to go outside the bounds of what it was designed for?

  • 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-12T16:14:54+00:00Added an answer on June 12, 2026 at 4:14 pm

    Is this purely because of the tendency of C/Java/etc developers to use JavaScript ‘incorrectly’ (mostly in a semantic sense, I guess)?

    No, you’ve just about missed the point by a mile. The main reason people use JavaScript is because they want to support as many browsers as possible. CSS3 is a new technology, which only the latest and greatest browsers understand, whereas JavaScript has been around for decades.

    Or is there an advantage of CSS over JavaScript? If so, why would CSS be better? Is it faster?

    Yes, because the browser knows best how to make use of system resources to perform animations, and it can do that job best when implementing them natively using CSS (e.g. hardware acceleration). With JavaScript, you’re relying on a browser’s scripting engine to calculate animations for you, which can get very expensive.

    But as mentioned above, the greatest drawback is lackluster support.

    Also, semantically-speaking, shouldn’t CSS only be used for styling/positioning? So is CSS starting to go outside the bounds of what it was designed for?

    Broadly speaking, it has always been meant for presentation — separating that as a concern from content and structure, when HTML was riddled with presentational attributes munged all over the place, spelling development hell for any frontend developer of their time.

    All these fancy effects you describe can easily be categorized under presentation (i.e. they don’t have anything to do with application logic, business logic, content, data, etc), so it would seem apt that they should be done with CSS. And that brings us where we are today.

    So, to summarize:

    • JavaScript is used when browser support is a foremost priority (and in business applications it almost always is). It is also often maintained as is if it’s too costly to convert or migrate to another technology.

    • Otherwise, CSS is used. Of course, a JavaScript fallback is often provided. You’ll often see this in experiments or new/startup projects.

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

Sidebar

Related Questions

Are there any highly recommended resources for getting started with HTML5 and CSS3 for
There are quite a number of page flip / curl effects using HTML5 &
So it seems like setVolume() for html5 audio doesn't work at all on both
Is there a risk in using @Html.Raw ? It seems to me there shouldn't
Heres the site: http://designobvio.us/portfolio/body.html I've tried css3, % base. Cannot seem to get this
I've tried to implement this CSS3 slideshow on my site ( http://www.designmadeingermany.de/slideshow/ ) But
I'm excited to learn Sencha Touch and improve my HTML5, CSS3, and JS skills
I'm using CSS3 PIE to do border-radius, drop shadow and transparency effects to make
I'm trying to convert this PSD to HTML with CSS. And this is what
We're using css3-mediaqueries.js ( http://code.google.com/p/css3-mediaqueries-js/ ) to make this responsive website ( http://webdesigndordrecht.elephantlabs.nl/ )

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.