Questions tagged as 'css'

2
answers

Random button colors

I would like my buttons to change the color every time the page refreshes. I made a java script code that is not working and would like help identifying my error. <script> let r = Math.floor(Math.random()*255),...
asked by 06.08.2018 / 20:19
2
answers

Mouse over in image to display information box

How do I make a mouse over open a Tooltip and this box does not disappear when I remove the mouse focus so I can put a clickable text inside this container? As an example: the tags that appear here in Stack Overflow.     
asked by 22.08.2014 / 16:46
1
answer

Difficulty in positioning table on screen with bootstrap - layout only

I need to do a layout on my page, as follows. That I have three textbox controls, one underneath the other and taking the other side all the rest with a table. See below how I need it. Ihavetriedinmanyways,reducingmygridfrom12to6andwhathappenswh...
asked by 29.08.2014 / 13:21
2
answers

Create a lower bar with Tabs

Is there a jQuery plugin that creates an options bar like the PHP Debug Bar project? Does anyone have any suggestions for implementation? "Messages | Request | Timeline" is a thin, fixed bar in the footer of the site and clicking "Messages"...
asked by 07.08.2014 / 23:40
1
answer

Doubt on z-index on separate divs

I have the following code: .div1{ position: absolute; z-index:2; } .div2{ position: absolute; z-index:1 } The .div2 has an image that is above .div1 , some pixels only. What happens is that in .div1 I h...
asked by 17.06.2014 / 14:41
2
answers

Modal Window overlap Frames

My scenario is as follows, I have 3 frames top (100px) content (*) and rodape (20px) I would like to open a modal window (the link is the top frame) where the mascara is above 3 frames (in the total browser area) Note: my modal system work...
asked by 11.06.2014 / 03:46
1
answer

Media Queries Does not work Informed Measures

Good afternoon! I'm working the first time with @media queries, I read a few vi examples but when I realized my project I saw that it is not using the settings according to the last measure. Could anyone tell me what might be happening? Fo...
asked by 18.12.2018 / 20:20
1
answer

Using attr to apply border color in LI

I have a li , which is a square, so CSS is .produtos{ width: 294px; height: 349px; /*background-color: #f1f2f2;*/ border: 3px solid transparent; position: relative; cursor: pointer; transition: all .4s ease-ou...
asked by 02.09.2014 / 16:26
1
answer

Select specific items within a while loop

I have the following HTML inside a PHP while fault: <article data-id="1">...</artcile> <article data-id="2">...</artcile> <article data-id="3">...</artcile> <article data-id="4">...</artcile> <...
asked by 01.09.2014 / 17:19
1
answer

Submenu of the same menu width

The submenu is the size of the text, I would like it to be the size of the menu header { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px...
asked by 27.05.2018 / 04:57