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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:26:43+00:00 2026-06-15T15:26:43+00:00

I asked this question recently: How can I create a CSS border on a

  • 0

I asked this question recently: How can I create a CSS border on a diagonal element

Question: Is it more memory intensive or cpu intensive to use image or complex css for a navigation menu?

Question: Cross browser/screen size aside, is the an advantage to one over the other for reasons other than what is mentioned above?

Thank you!

  • 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-15T15:26:45+00:00Added an answer on June 15, 2026 at 3:26 pm

    Ultimately, the device needs to display an array of pixels. If you send an image file of those pixels, they are ready for display. If you send complex css for creating those pixels, it will likely take fewer bytes across the network but the processor will need to render the pixel array before it can be displayed.

    Whether you should use css or an image depends on a variety of considerations. Here are a few:

    • Is the thing you need to display always exactly the same size? Then an image file has the advantage of already being rendered. If not, css will give the capability to size efficiently.

    • Will the user always have a good network connection? If so, there won’t be as much of a performance penalty for sending a pre-rendered image and possibly a bunch of media query css to decide which image to load.

    • Is the thing you are trying to render very large on screen? If so, css might have an advantage over loading a large image file.

    • Is the css extremely complex, taking lots of code to describe? Then an image file has the cpu advantage of being pre-processed.

    • Are there animation states or other animation associated with the display item? Then css has the advantage of not having to load multiple potentially large image files. But, if the states have very complex animation taking lots of code and therefore cpu, then the previous guideline will apply.

    Second question: If there are cross-browser difficulties with your css, a pre-rendered image will eliminate those. But, if you are building a responsive display object that has very many different display sizes, css will have the advantage of scalability. That said, a basic concept in responsive design would be to provide a few different size versions of an image.

    In general, image files cost bandwidth and css/vectors cost cpu.

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

Sidebar

Related Questions

Very recently I asked this question on how to pass clicks through an element
I was recently asked this question in an interview. Lets suppose I have 2000
I was recently asked this question : What is the difference between String and
Recently I was asked this question in an interview. I gave an answer in
I recently asked this question: MS SQL share identity seed amongst tables (Many people
Note: I originally asked this question about an hour ago but only recently realized
Please forgive if this question has been asked numerous times. I recently installed Eclipse
Recently I asked this question: Removing up to 4 spaces from a string and
Possible Duplicate: difference between destructor and garbage collector Recently i asked this question ,
An interviewer recently asked me this question: given three boolean variables, a, b, and

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.