Questions tagged as 'css'

3
answers

CSS: Put one button under another

How can one button be placed under another? I could put them inside divs and touch the divs, but I'd like to do it without. .btn-danger{ display:flex; } <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.mi...
asked by 21.09.2017 / 15:39
2
answers

Two columns, one fixed, another scroll

I have two columns in HTML , and I want to do the following, but I have not achieved it, neither with position or something else, I'll be grateful if you can help me: column on the left , with vertical and fixed centered content, tha...
asked by 06.12.2017 / 13:58
3
answers

How to make a li

/* General */ body{ background-color: #000000; } /* ------- */ /* 1.0 - Menu de navegación */ #menu{ list-style-type:none; margin:0; padding:0; } #menu li{ float: left; } #menu li:first-child > a{ backgro...
asked by 04.09.2017 / 18:33
2
answers

Does not change the color first child CSS

/* General */ body{ background-color: #000000; } /* ------- */ /* 1.0 - Menu de navegación */ #menu{ list-style-type:none; margin:0; padding:0; } #menu li{ float: left; } #menu:first-child { background-color...
asked by 04.09.2017 / 18:25
3
answers

How to acquire the width father

If I have the following: #t {width:300px;height:300px;background-color:dimgray;border-radius:150px;z-index:1;} #ticket{ height:100px; top: 35%; position: relative; background-color:white; width:300px; z-index:2; } <div...
asked by 13.09.2017 / 02:11
2
answers

Give styles to two divs within a global div CSS

I have a div A that contains div B and div C . <div id="A"> <div id="B"> ... </div> <div id="C"> ... </div> </div> I want div B to have a margin-top separation: 2em; re...
asked by 09.01.2018 / 03:49
1
answer

Group ids for the same CSS functionality

I have the following lines of code that do something similar: label[for=nombre]{ font-weight: bold; } label[for=capacidad]{ font-weight: bold; } label[for=descripcion]{ font-weight: bold; } Can the names of the "ids" be group...
asked by 07.01.2018 / 21:52
2
answers

How to move the bullet point inside the gray background?

Hi, I want to know how to put the points inside the gray background. *{ margin: 0; padding: 0; } section{ padding: 100px 20px 100px 20px; } article{ background-color: rgb(200,200,200); margin: 20px 0 20px 0; }...
asked by 11.01.2018 / 18:04
2
answers

Style sheet css does not work

Hi, I have a problem with the css style sheet that having boostrap the changes I put in the css sheet does not do anything. <head> <title>Pruebas Javascript</title> <link rel="stylesheet" href="https://maxcdn.bootstrap...
asked by 19.07.2017 / 09:34
2
answers

one letro and another title separates in the css

I have a bad css code, 2 span one letter left and another title centero. css for each one .mt { border: 1px solid#000; width: 350px; } .mtitle { background: #007281; color: #fff; padding: 10px; } .mdesc { pa...
asked by 14.07.2017 / 17:55