Questions tagged as 'css'

1
answer

Develop layout with 3 columns

Suppose I have a layout containing 3 divs side by side. The first of these divs has a fixed size of 100px , the third div can not have a fixed size because it will depend on the text inserted in it, however, it ca...
asked by 10.09.2016 / 17:56
2
answers

Menu with blocks side by side, a fixed and another fluid

How do I make a horizontal menu on one side with fluid width and the other on fixed width? The menu will not be fixed at the top and needs to work on most browsers (this is because I can not use css calc). I'm using the bootstrap.  ...
asked by 12.05.2016 / 15:06
1
answer

How to align 2 while result per row

How can I make the divs contained in the loop, list 2 per line instead of listing one down from the other Example to baxco $sql = "SELECT * FROM aparelhos "; $resultado = mysql_query($sql) or die( mysql_error()); while ($row = mysql_fetch_...
asked by 19.05.2016 / 03:18
1
answer

Access Pseudo Elements :: after and :: before and Others

Is it possible to access a ::after element created in CSS with jQuery ? For example: ul.pager{ position: relative; width: 100%; text-align: right; max-width: 960px; z-index: 30; margin: auto; margin-top...
asked by 14.12.2015 / 17:41
1
answer

How do I make a modal shoot and stay in the footer / bottom of the page?

Modal by default fires from top to top. I want to do the reverse. Let it shoot from below and stay there (at the bottom / footer / footer). I changed the top of it, but in the mobile the positioning is incorrect. <div class="modal fade bs-e...
asked by 09.12.2015 / 15:19
1
answer

Problem when styling a placeholder based on a class in CSS

I'm trying to make sure I can have several types of placeholder based on a defined class like this: .red, .red::-webkit-input-placeholder, .red:-moz-placeholder, .red::-moz-placeholder, .red:-ms-input-placeholder{ color:red } The proble...
asked by 10.04.2016 / 22:31
1
answer

Using variables

I was looking at the use of variables in CSS, as below, simple thing, so far so good. Then I saw that I could incorporate 'functions', but I only saw it using libs like lesscss and sass . Is it possible to define a function in CSS - like th...
asked by 25.04.2017 / 21:17
1
answer

How to stylize elements that already contain predefined bootstrap class styles? [duplicate]

Hello, everyone at Stackoverflow, I'm using the bootstrap, however there are some bootstrap styles I do not think are cool. I'm putting my custom style into a css file, however the bootstrap style even prevails by linking my css styles f...
asked by 23.04.2017 / 02:55
1
answer

How to change TAB color in bootstrap

I want to change the color of when a tab is selected, it is blue, I want to change to black, I also want to change the color of the letters inside the tab, when not selected, to gray. How should I proceed? I'll leave a link to the code I'm using...
asked by 29.04.2017 / 19:05
3
answers

Execute javascript only when accessing a mobile site

I've noticed that the bootstraps menu does not close after selecting an option when using a mobile phone, so I want to run only if it's on a mobile phone, I'm doing this, would it be the correct one? Thank you <script> jQuery(docume...
asked by 25.04.2017 / 18:29