background-color

Reverse CSS animation (color change) when hovering over and removing the cursor

The main goal was this: create an animation for a block so that when you hover the cursor over it, the block changes color tw ... d are there similar and easier ways to implement this animation using html and css, or do you still need JavaScript for this?

Using background-image and background-color CSS

I'm studying HTML and CSS through the Caelum handout and I'm having trouble getting CSS to work properly on the page. I have ... </p> </body> </html> But I don't see the change of background-image and background-color on the page.

Change the background-color of a div within a link

I'm doing a kind of card button inside a tag to create a link (bootstrap 4 beta). In the card there is a class that changes i ... } .bg-azul-claro{ background-color: #87CEFA; } .bg-azul-claro:hover{ background-color: rgba(36, 161, 238, 0.53); }

How to create a transparent or colorless background in css?

What code in css to make the background transparent, or colorless? I'm creating a native ad on Admob and I need the background to be transparent.

Gradient background in CSS works horizontally but not vertically

The code replica: https://codepen.io/utamo/pen/XoyzWN When applying to body: background: linear-gradient(to right, #33c ... r-gradient(to bottom, #33ccff 0%, #ff99cc 100%); Ends up like this I know it's simple but I lack knowledge at the moment

How to put background-color on top of background-image

I need to put a div with a background background-image, and when hovering over it with the :hover, a background-color rgba tr ... but it replaces one with the other a{ background: url("img.png") ; } .a:hover{ background: rgba(43, 80, 142, 0.9); }

I can't change the background of my body

Hello, I'm trying to format the background of my body, but I did not succeed. I have already tried to make changes to my div ... p;copy; 2013 - by Gustavo Guanabara Facebook | Twitter</p> </div> </body> </html>

RGB color in Visual Studio 2017?

How do I get more colors for my form background? I have a color in RGB and I don't know how to put it beyond the colors already offered in Visual Studio 2017. I've tried searching the internet and found nothing

Put a background color after recognizing and cropping people's face

I found a tutorial of an app that recognizes people's faces using the camera and creates a rectangle around the recognized fa ... } } I'm not knowing how to put a background image inside that rectangle that was created. How best to do this in C++?