Questions tagged as 'css'

1
answer

How to leave the header of a fixed menu

I have the following menu: How do I do when I click on a link it opens the content under the menu, always leaving it fixed? <!DOCTYPE html> <html> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4...
asked by 30.10.2017 / 20:05
2
answers

Overlap two images with: hover

My goal would be for a .png image to be over a .jpg image by hovering over it. I tried with the following code: .image{ width: 320px; height: 180px; } .image:hover{ content: url('playplay.png'); } But it looks like this When pa...
asked by 04.01.2018 / 01:09
1
answer

Touch-action what is it for? CSS

I'm getting a warning in the Google Chrome console:    [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See link   e @ 332526c6e8d3fc1326ad773f97b0a486.js: 5029   dispatch @ 332...
asked by 05.12.2017 / 13:16
1
answer

"Automatic" footer [duplicate]

I'm making a site to index links. There are times when the result occupies less than half the page, and sometimes takes up a huge scroll. I need a footer that in a little content is stuck below the screen ( bottom: 0; ) but if there is s...
asked by 04.12.2017 / 19:50
3
answers

Background image

I'm developing HTML email marketing, however I'm having problems with the footer, where it has a background url and in the mobile version it does not configure: Mycode: .background-gray2-no-padding { background-color: #C4C3C2;...
asked by 06.12.2017 / 16:59
1
answer

I can not put background-color and outline

I'm developing a web application and I have the following problems: I can not fill in the white space above the title " Sort Search " using background-color applied to it. I can not put a outline: 1px solid #E0E0DA; line a...
asked by 22.10.2017 / 00:22
1
answer

How to make all the characters stay in the same height

I want to put all the elements of a div at the same height as in this image: Somineislikethis: MyHTML:<divclass="banner"> <div class="container"> <div class="conteudo-banner"> <h1>Kerline</h1>...
asked by 20.10.2017 / 19:02
1
answer

How to remove white margin from a Carousel (Bootstrap)?

I've created a carousel on my site through the Bootstrap code, and I want it to occupy the full width of the screen (100vw) and almost all the height (90vh); so I put in the container width: 100vw and height: 90vh, but when I open the site the c...
asked by 03.10.2017 / 03:29
1
answer

Datetime Picker

I'm using this datetimer picker datetimepicker The date appears like this: 2018 January 30 - 10:00 and I want it to look like this: 2018-01-30 10:00 Can you do it in jquery or do I need to change it directly in the datetime picker code?   ...
asked by 30.01.2018 / 20:56
1
answer

How do I create a mouse-over effect on an image and position it where I want it?

I'm trying to replicate an effect of mouse over but what I've achieved so far is a bit biased, the line with the effect is passing from one side to the other, and not just the length of the text, which is what I want , I do not know how t...
asked by 02.02.2018 / 03:13