Questions tagged as 'css'

3
answers

CSS DIV diagonal

I recently received a layout to develop, in which I have a specific aside that I can not do, I need a div that is tilted, as in the example, the more that the text flows normally, the text is not turned over in case of using transform. Anyon...
asked by 24.01.2015 / 18:21
4
answers

How to change background with javascript?

I have a function in javascript that returns the day and time for text, for insertion into html, how can I add styles to this text, should I do within javascript or even in html function date_time(id){ date = new Date; year = dat...
asked by 14.02.2014 / 15:44
1
answer

What is the use and how to use the hanging-punctuation property of CSS?

I know that the hanging-punctuation property provides control over typography on the web, but I do not really know what this control is and how it works. I've also seen that the property supports some values, such as first , last...
asked by 19.10.2018 / 15:15
4
answers

Apply color to font in element clicked only with CSS

I have the following HTML: <div class="trabalheSubEsqTitulo">Fale Conosco</div> When I click on the div trabalheSubEsqTitulo , I want it to apply color:red , however, I only want this with CSS. Can you do it?    ...
asked by 17.11.2014 / 17:16
2
answers

Group css selectors to reuse code

Given my and html and css respectively: <!DOCTYPE html> <html> <meta charset="UTF-8"> <head> <link rel="stylesheet" type="text/css" href="css/estilos.css"> <title>Teste</title> <...
asked by 10.11.2016 / 14:18
3
answers

How to make a style for "broken image" (when the image does not load)

How would it be possible to make a CSS style for when the image is not loaded on the page? When you have the link to the image, but for some reason it is not loaded on the page, or if the link or image path is wrong, or if the image is not in...
asked by 09.08.2018 / 14:53
2
answers

box-shadow pick up the four corners of the image

Can anyone tell me how I leave box-shadow in the same key on the right and top on the left and bottom? link HTML:<divid="wrapper_login" class="fixed"></div> CSS: <style type="text/css"> body { font-famil...
asked by 11.04.2018 / 04:00
3
answers

Balloons with tips to use the system (Tour)

What I want is to know the name given to those tips that are appearing to assist in using a system when we first enter it. For example, I log in to the system and a balloon appears as if it were a modal in a certain location with a hint and a...
asked by 06.12.2016 / 17:33
4
answers

Problem with height of divs that do not follow each other's content

I have a problem that I think is easy, but I can not figure out how to solve it. I have a structure of type: <div class="conteudo"> <div class="esquerda"> </div> <div class="direita"> </div>...
asked by 17.05.2014 / 16:09
2
answers

Ideal attribute to not be 'clickable'

Good afternoon. I'm making a button that has the function of increasing the amount of products in the cart. However, by clicking many times on it, the element becomes as 'colored' as if it were a word or something. as in this image: The...
asked by 16.08.2017 / 20:23