Questions tagged as 'css'

2
answers

Display Div Only in Mobile Version

I have a question and I think other people may also have the same doubt ... Let's go to the situation: I have a website, with a header edited to appear on computer screens (resolutions higher than tablets) but I would like the header to chang...
asked by 10.03.2016 / 14:21
1
answer

How to change an image's LINK via CSS

I'm editing a site where I only have access to an area to insert CSS. And I have a default image with a link, I could change the image using only the css, but I would like to know if there is (even knowing that it is totally against the web stan...
asked by 11.03.2015 / 13:35
2
answers

Remove unwanted margin below image

I've done this so far: *{margin:0;padding:0;} .container{ width:700px; } .image img{ margin-right:15px; float:left; width: 300px; height: 225px; object-fit: cover; position: relative; background...
asked by 23.10.2015 / 18:48
3
answers

Menu with themes

I'm having a little difficulty. I have a menu in html and css and I want to put it as follows. Text - text - Logo - text - text Html: <div id="nav"> <ul> <li><span class="Email" >&l...
asked by 10.11.2014 / 18:21
1
answer

Put search form on navbar right

I'm using Bootstrap and put a search form inside a simple navbar. The problem is that I can not get the form close to the title, I would like it to be aligned to the right of the navbar. This is HTML: <div class="navbar navbar...
asked by 10.06.2015 / 23:48
2
answers

How do I access specific items of an ul with: nth-child ()?

How can I access 2-in-2 items in my list using the: nth-child () parameter, or is it easier to access and customize even items?     
asked by 19.08.2014 / 18:33
1
answer

Take action when pressing the key

I need that when the user presses the DOWN key of the keyboard, it goes to a div, in the same way as with scrollTop. Has anyone done anything like this using Jquery? Would it be something like this? $(window).trigger('keydown', function (e)...
asked by 17.04.2014 / 03:48
1
answer

Darken background with text over image

Is there any way to darken a background image without affecting the text that is on it? .slider-principal{ content:'\A'; top:0; left:0; opacity: 0.8; } .slider-principal p{ color: #fff; bottom: 0; left: 10px;...
asked by 15.04.2016 / 15:01
1
answer

Aligning Fields on a Form

Well, I'm developing a webpage with a form. How can I align text boxes to fill in? I tried to put everything inside a div with the class container, I tried to set the size to approximate sizes, but there are always millimeters of difference, and...
asked by 21.04.2015 / 23:54
1
answer

Button CSS on tablet is not as shown on PC and in Responsive Design Mode

I did everything right but it does not go as expected when I access the site through the tablet, click run to see what I say better function mudarNome2() { if(document.getElementById("buttonhide2").value == "Ocultar Menu") { docume...
asked by 30.10.2018 / 22:23