Questions tagged as 'css3'

3
answers

user search

1.- For the search based on the content of the divs, is that a good practice? 2.- When I perform a search, and then I delete all of the input, how do I return to its initial state, that is to say that all the users are shown, are there events...
asked by 14.02.2017 / 16:46
2
answers

Style half of a character

Is there any way to style only half of a character? For example, half of one color and the other half of another. Is there a CSS or JavaScript solution for this, or should we resort to images? (I know that there is a gradient, but we do no...
asked by 11.10.2017 / 11:07
1
answer

Basic doubt with margin. Father and son css

I know how to solve it, but my doubt is in why this happens. I have a Father section and inside a Son div. The thing is that by placing margin: 20px on the child, a margin is applied to everything, not just the child that is where I wanted to ap...
asked by 12.04.2018 / 06:50
4
answers

How can I align some components of a bootstrap3 navbar to the left and others to the right?

Starting from a navbar of Bootstrap standard we need that some buttons or links are aligned to the left, others to the center (for example: our icon brand ) and others to the right. This was the first thing I tried to do:...
asked by 17.12.2015 / 16:43
5
answers

Change style of an input type="file"

I want to know if it is possible to change the default style that appears when placing a <input type="file" /> on our page. Here I leave a screenshot. The previous image is a screenshot of my tablet, where I save the path o...
asked by 10.05.2016 / 18:55
3
answers

Cartoon Balloon with CSS?

I am looking to generate a cartoon balloon with CSS, that is, a dialogue balloon with text and a "tail" of the style that appears in comics. The solution where possible, so that the "tail" of the globe has a rounded look, as shown in the image:...
asked by 12.02.2018 / 22:04
2
answers

Height 100% does not work

I'm trying to create a menu made with images with the hover effect, but I do not understand why you do not see the div complete. The menu consists of 6 images (which in reality are twelve, two per menu option, for the hover) and must b...
asked by 28.12.2015 / 05:45
3
answers

Silhouette of a color image

Thanks to Rene Limón's response , I was able to create a CSS silhouette like this: #silueta img { -webkit-filter: grayscale(100%) brightness(0); /* Safari 6.0 - 9.0 */ filter: grayscale(100%) brightness(0); opacity: 0.6; } &l...
asked by 01.03.2017 / 01:50
1
answer

Can a flexible div be created in height?

I would like to create a div that when enlarging the browser page, will grow as an image does with width: 100%; height:auto; Is there any way to do it today? My intention would be to create a div with a 16: 9 aspect ratio that incre...
asked by 17.10.2017 / 12:10
3
answers

How to pass variable from javascript to twig?

The following code is for me to load on the page a CSS or another depending on the chosen theme. This code works perfectly on page HTML pure, but when I try to take my application Symfony not found a way to pass the JS %%...
asked by 05.08.2016 / 17:34