Questions tagged as 'css'

2
answers

Hover - css does not work

I'm doing something stupid but I do not know which one. I'm basically trying to create some classes in css, but it's not working as expected td.ok { height:26px; padding-left:4px; padding-right:2px; font-family:Verdana, Geneva, sans-serif;...
asked by 09.01.2018 / 18:25
3
answers

Load HTML from another HTML [duplicate]

I would like to ask for help loading in my main HTML file external files from 2 other HTML pages Below is the nav <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <ti...
asked by 31.01.2018 / 06:30
3
answers

Style each line differently

I have a text in four lines: <span>Pare de perder tempo por falta de<br> Presença Digital.</span> I want each of these lines to have a different font size. What would be the most correct way to do it?     
asked by 30.01.2018 / 17:59
2
answers

How to make an input to accept only letters?

I am making a form and the user has to type only letters in the field of his name, I want to block him to type some other type of character ah not be the letters, how do I? I am programming with HTML5 and CSS 3. The form will be WEB.     
asked by 15.07.2016 / 20:53
2
answers

Increase size field balls for password

I want to increase the size of the "balls" of an input password, I thought of input { font-size:140% /*exemplo*/ } for example. However, only the bar that keeps blinking at the time of typing increases. The password characters do not incr...
asked by 23.09.2014 / 02:46
2
answers

background-color random in the div without repeating the same color twice consecutively

I want to create a sequence of DIV , but I want every DIV to have in its background-color a random color previously known as black, yellow and green, but I do not want these colors to repeat one after another. Type: yellow...
asked by 25.09.2014 / 19:58
3
answers

Display images from right to left

Currently I'm having a problem with my code because I need the images to be displayed on the screen but it should come from right to left. The default is we put the <img> codes and they are going to display the images from left to r...
asked by 21.08.2014 / 22:36
2
answers

Problem with jQuery to open / close divs

I have a jQuery that I made to open and close a div by clicking on the corresponding question. The problem is that only the first div is opening \ closing, even though I clicking the 3rd or 5th question. Example: link jQuery: var SC =...
asked by 10.09.2014 / 20:38
3
answers

JS - How to add a style inside a new class?

Is it possible with javascript to add an element to a class? EX: Have a class: .post_22 {color:red} Until then it only has color, but when you click on a link: <a onclick="minBox()">Seu Poste</a> Would you like to add CLA...
asked by 28.07.2015 / 16:49
1
answer

Place Text on Div Edge

I wanted to put text on the border, as in the attached image. I'm using Bootstrap. Mycurrentcodelookslikethis:CSS:.jumbotronmax{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;/*background-color:#ccc*/}.jumbotronmax.h1,....
asked by 15.06.2017 / 18:51