Questions tagged as 'css'

2
answers

Sound in a JavaScript Alert

I hope you can support me with the following question. At the moment of sending a alert in a validation I would like a sound to be output along with the alert as I can do that. I have tried several things but they do not work...
asked by 30.07.2018 / 18:59
2
answers

When in CSS3 it is essential to use own tags of each browser -moz-, -webkit-, -ms-, -o-?

I understand that there are CSS functions, such as gradient that are not supported in some of the older browsers. I have come across this example: #grad { background: red; /* Para navegadores que no soportan Gradient */ backgrou...
asked by 08.11.2017 / 15:15
1
answer

Centering elements with CSS in Bootstrap

I am trying to center the following without losing the responsive and there is no way: <div class="row"> <span class="col-md-1 text-right">Periodo:</span> <div class="col-md-2"> <input...
asked by 29.11.2016 / 10:20
2
answers

MENU: The arrow does not change down again

Here I get the arrow pointing up $('.menu').click(function(){ $(this).children('.menu-sub').slideToggle(); }); $(".sidebar-nav > li.menu > a").click(function(){ if($(this).siblings('ul.menu-sub').hasClass('in')){...
asked by 05.01.2017 / 16:41
2
answers

How to solve the spaces between the inline-block elements?

When I use elements with the inline-block property, a space appears between the elements: html, body { margin: 0; padding: 0; } .padre .hijo { display: inline-block; padding: 5px; background-color: red; } <div cla...
asked by 06.12.2017 / 20:22
3
answers

Effect blur on a banner with CSS

I have a banner and on it an avatar-like image. I have tried to add the blur effect to my banner but I have an error because the effect is done on my avatar and not on my banner. To understand what I want, I share my JSFiddle . This is my...
asked by 26.01.2018 / 05:02
3
answers

Scale background image maintaining appearance

I am creating an adaptive image gallery where thumbnails of the image are displayed in squares. For this I put the background images using background-image and so that the image occupies the whole square, I use background-size:cover...
asked by 13.05.2016 / 06:24
2
answers

fixed html table header inside div

I have an html table inside a div with scroll in Y, inside the table I have a header that I want to be fixed, how can I make the header of the table stay fixed knowing that the table is inside a div. div.tableContainer { wid...
asked by 29.08.2018 / 18:19
3
answers

how to use a href on a label other than (a)

I'm using a tag with a href that calls id to do its function <a href="#openModal">Abrir</a> It happens that I can not use a tag at the moment because I'm hurting all the work, I want to know what other tag I can use and th...
asked by 25.09.2018 / 00:12
3
answers

Problem with CSS - Background Color

I have the following code: .llamativo{ border-left: 1px double darkgray; border-bottom: 1px double darkgray; box-shadow: 0 0 5px inset; border-radius: 4px; font-weight: bold; font-size: 22px; padding: 10px; margin: 5px 0;...
asked by 10.01.2017 / 19:32