• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Background Image in CSS

If the image is in the same file as my CSS file, how do I write the URL?

cssbackground
19th Jan 2019, 10:33 AM
Rashid
Rashid - avatar
1 Answer
+ 5
background-image:url("file_name.jpg");
19th Jan 2019, 10:38 AM
Seniru
Seniru - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Problem with Javascript function
0 Votes
For Programming i need Patience
0 Votes
How can I print a Python set so it looks clean (no {} brackets or quotes)?
2 Votes
Can someone help and explain better on slicing
1 Votes
How do I remove duplicates from a list but keep the order?
0 Votes
About css...
0 Votes
How do I print a multiplication table neatly?
0 Votes
Why we use return in function ?
0 Votes
Is there anyone who is working on algo bot (trading bot)
0 Votes
Hill Climbing
0 Votes