Questions tagged as 'css3'

2
answers

I can not show a modal form popup

Working with ASP.NET MVC 5 I can not show a modal form popup when I call it from a floating button shown and it automatically closes only the modal view popup looks second. I show code. HTML <div class="contenedor"> <bu...
asked by 21.02.2017 / 19:09
4
answers

Center several divs

I am trying to center divs horizontally, (I do not understand why something so simple is so complicated ...) I have seen that the function cal (), theoretically does this, and if it does, but it centers us with respect to the screen, it simpl...
asked by 31.01.2018 / 10:54
3
answers

Design Responsive with CSS images

img{ width: 50%; height: 50%; } img[name="imagen_cuadrada"]{ width: 50px; height: 50px; } <img src="https://www.tuexperto.com/wp-content/uploads/2018/03/paisajes.jpg"> <img name="imagen_cuadrada" src="https://www...
asked by 13.12.2018 / 15:12
2
answers

Hide scroll bar without disabling it

I would like to find a way to hide the scroll bar in the browser. I have tried the following: <style type="text/css"> body { overflow:hidden; } </style> But setting overflow:hidden in the body , what happen...
asked by 17.05.2017 / 15:25
3
answers

Put a background photo in a section. html css

I am developing a static website where I want to put a photograph in a section. the background right now has a color, but no matter how hard I try to put the image it does not appear. <section class="bg-primary" id="nosotros"> <di...
asked by 27.07.2017 / 11:51
2
answers

Create grayscale filter for CSS image

How can I apply a grayscale filter to an image with CSS?     
asked by 22.01.2016 / 23:43
1
answer

Place text in html table cell vertically?

I am looking for a way to place the text of a cell vertically, there is a code CSS that I use the transform to do that but when using it what it does is rotate the whole cell and damage the design. What I want is to make this ta...
asked by 24.03.2017 / 22:25
4
answers

Change color a png image with transparent background

I have an image of a sky blue star, I would like to change the color to the star only. #estrella img{ height: 35px; } </html> <head> <title>Cambiar el color de la imagen</title> </head> <div id="...
asked by 15.10.2016 / 23:20
3
answers

Flex boxes at 50% of the screen

Using divs with display:flex I would like the two elements that are going to have to occupy 50% of the screen respectively, but I do not get it by modifying the property flex-grow . I have tried to play a bit with the values of that...
asked by 20.02.2017 / 10:21
3
answers

Nest selectors in CSS

Good, a doubt that I have. Is it possible, using CSS, to nest selectors? In my project, I have several styles that I have dependent on some selectors that are common in different places, for example: .menu1 { declaracion menu1 ... } .menu1...
asked by 01.02.2018 / 16:48