Most voted "background-image" questions
28 questions
Sort by count of
-
4
votes2
answers15005
viewsHow to place an image in an HTML button
I am creating a button on a given page and would like to put a background image. I’m trying to tag background-image:url() in CSS but not working. HTML: @model…
-
4
votes1
answer627
viewsHow to adjust Background to fit inside container without cutting anything?
I have a Pattern that is repeated in both X and Y that I want to use as background in a div, but I’d like it to fit within the div without cutting on the sides as in the image. (I want them to have…
-
3
votes4
answers18367
viewsApplying opacity in a Background
I’m trying to apply opacity to my background image. I’ve tried using rgba, and the pseudo-class after. Is there any other way to apply this filter only to the image without affecting the content?…
-
2
votes1
answer64
viewsHow can I "unskew" the background image?
Good morning, I am no expert on this and I am tired of looking for a solution to counter the skew given to the main container. Basically all the solutions that I have been able to understand so far…
-
2
votes2
answers1613
viewsCan I put a background-image in a Section?
I created a section in my HTML and CSS: section{ background-image: url(../img/bkg2.jpg); } But the image does not appear. And I checked the path and it is correct.…
-
2
votes2
answers235
viewsBackground-position is not working
Hey there, guys. I used the image-Replacement technique, tried to leave the image centralized using the background-position: center, but the image position remains unchanged. Would anyone know why…
-
2
votes2
answers1957
viewsbackground image of android screen
Good afternoon ! I am trying to put a background image in my application login screen, this image was downloaded from the site Unsplash, and when I put it in the background property of my layout the…
-
2
votes1
answer92
viewsBackground-image css3 no Uncina
Good morning, everyone, I am trying to put an image as background of my html page but it is not working. Would anyone know to indicate the error of my code? index.html <!DOCTYPE html>…
-
1
votes1
answer59
viewsHow do I make a pixel wide background-image not static on a website page?
I have several background images with a certain width in pixels and underneath these images I have one or 2 titles with background-color (with a rectangle of color behind also with the width in…
-
1
votes1
answer275
viewsCSS - Media Queries loading backgrounds. How do they behave?
I’m making a website responsive and would like to upload different images in the background depending on the device. I will respect the use of data from mobile users and do not want to force the…
-
1
votes1
answer73
viewsbackground-image Animation with CSS
blz? I have a "" with Parallax (parallaxie. js) and background image animation with CSS (Keyframes). Follow the link: https://codepen.Io/Aguinaldo-Aranda/Pen/zLJwrM It turns out that the animation…
-
1
votes5
answers2851
viewsHow to put background-color on top of background-image
I need to put a div with a background-image background, and while hovering over it with the :hover, a background-color appears rgba transparente, and the background image does not disappear, it will…
-
1
votes0
answers47
viewsHow to use different images in the background-image, according to screen size?
I’m optimizing a site and wanted to know if I have how to use different background-image according to screen size. For example, screens larger than 640px use the image /referent123/original.jpg and…
-
1
votes1
answer380
viewsHeader with responsive bg
I’m starting a project right now and I want to make the header responsive, but I can’t. The header has an effect in js that changes the images every refresh, but I can’t assign the correct height to…
-
1
votes1
answer3271
viewsHow to put a background image in my ion-content
I would like to add a background image at the bottom of my login Follow the html code of my login.page.html <ion-header> <ion-toolbar> <ion-title…
-
1
votes0
answers89
viewsResponsive full background Image
I’m having some issues with my background image. I have a full background image in my website, and I want a Responsive website, but when I Try to see it on my phone, the image height is not correct.…
-
1
votes1
answer41
viewsResponsive background-image
hello, I have a problem in the responsive part of my site where the background image is cut when the site is on mobile, I would like to know how to adjust the image so that it looks the same on the…
-
1
votes1
answer57
viewsBackground-image and background:linear-gradient
I’m trying to make a background with a curved effect, but to put this effect I’m using an image(image link: https://cdn.discordapp.com/attachments/800754994739150878/800893255343538186/wave.png) but…
-
0
votes1
answer35
viewsRemove cover or change, blogger
Hello, I’m having a problem with the blogger I’m doing for college, I wanted to remove this part see that written the name of the site, or if possible change to a cover of my. she is related here:…
-
0
votes1
answer226
viewsHow to change cover photo
How to update photo from this cover from my computer with javascript, button input type="file" or with nodejs. Follows the code: <!DOCTYPE html> <html> <head> <meta…
-
0
votes0
answers88
viewsInserting a responsive background image in html.Wig for Drupal 8
I’m trying to insert a image as responsive background in a html.Twig to the Drupal 8, but to no avail. I’m not finding a solution to this. Even better if it were something practical like a "put that…
-
0
votes1
answer1151
viewsUse of CSS background-image and background-color
I’m studying HTML and CSS through Caelum’s workbook and I’m having trouble getting CSS to work properly on the page. I have the following CSS code: body { color: #333333; font-family: "Lucida Sans…
-
0
votes1
answer123
viewsHow to remove background using python and cv2?
I’m a beginner in programming and have some problems trying to remove the background of the image using cv2. The program below runs, however the result is not as expected. I would like to help…
-
0
votes0
answers26
viewsHow to put image Buttons on an image using Tkinter?
Hi, I’m developing a game and I need buttons with images to appear on another image. These buttons also need to switch between different game screens. However, I just can’t get the buttons to appear…
-
0
votes0
answers18
viewsLetters getting transparent along with the footer
I have a standard footer with a background image. This image is very green so I thought I’d make it a little transparent. but when I apply the effects of leaving the image transparent on the footer…
-
-1
votes1
answer48
viewsJavascript array
People would like to know how to search an image instead of color in this javascript array below Instead: <script> array var arrDados = [{title: "Dados 1", value: 1, **color**: "#fe4400"}]…
-
-1
votes1
answer417
viewscss background-image: url(''); can’t find my image’s local path
I am using Ubuntu I put (Ctrl + v) the image I want on the input screen (desktop) I open the terminal (Ctrl + alt + t) On the terminal, do: ls (image does not appear) I then do: Desktop cd Now I see…
-
-2
votes2
answers1207
viewsHow to use "background-image" correctly?
This command below is what I use in the current MENU of my Blog, however I would like to change the look and put a background image in the MENU. how do I do this using "background-image"? where do I…