Questions tagged as 'css'

1
answer

Center the DIV but not the elements

I want to center the DIV in the middle of the page , which I do, but I do not want to center ALL the elements. I want the elements to have a vertical alignment (name, description, price). Only Name and Image are at the same level, others a...
asked by 07.01.2018 / 10:06
1
answer

CSS compatible in all browsers?

Good morning, I have the following style in css for a button and for a combobox, when viewing them in mozilla 57.0.2 the blank button and the combobox with blank options appear. What should I add or change to be compatible in this browser?...
asked by 05.01.2018 / 23:57
2
answers

how to center thumbnails on a web page?

<div class="row"> <div class="col-md-3"> <div> <a href="#"> <img src="https://i.ytimg.com/vi/kpvKA0vhaT0/maxresdefault.jpg" class="rounded img-thumbnail img-responsive"> </a> </div> <...
asked by 09.02.2018 / 01:20
1
answer

fit container image to trim it

How can I make the image occupy the entire container? My idea is to be as shown in the photo. Being the red frame the image and the black frame rounded the container of images #article{ background-color: rgb(126,230,222, 0);...
asked by 09.11.2017 / 18:22
2
answers

cover image by default css

I have a div that is armed by Javascript and a JSON, this puts an image that brings it from a server, the problem is that if the image is not, the div remains blank. - UPDATE - I do not have the URL in the database, it is assembled in a st...
asked by 21.10.2017 / 01:09
2
answers

CSS problem alignment of label inputs - HTML

I'm making a registration form, typical of web pages, but I have a problem with the layout of the elements. My form must contain the following fields, which are shown in the image, but must be in the following distribution: Nombre - Apellido...
asked by 07.11.2017 / 14:37
2
answers

Can a textarea be given a source?

It is possible to change the style of what you write there, such as changing the color or size of the letters. If not, what alternatives are there?     
asked by 04.11.2017 / 06:31
2
answers

I can not adjust the images to the bootstrap carousel and adjust the images on the img card

I try to add the images to the bootstrap carousel and I can not make them fit the exact size (I always have bigger ones) I tried to review the CSS but I do not understand it perfectly and nothing I try works. <meta charset...
asked by 08.11.2017 / 00:51
1
answer

Large image effect does not work - HTML CSS

I have an HTML code to which a .css is associated Why does not my animation work on the image? .logo:hover{ -webkit-transform: scale(1.3); -ms-transform: scale(1.3); transform: scale(1.3); } <div class="log...
asked by 11.10.2017 / 11:06
4
answers

Modify appearance of an input

Hi, I explain, I have 2 input text and I want it in the first one if you have 4 or less characters, you should use the red form and if you have more in yellow I have it all on the same page and with conditionals if, I thought about while but...
asked by 24.09.2017 / 17:37