Questions tagged as 'css'

2
answers

Remove links from CSS images in @media print

My blog shows links when printed through a[href]:after { content:" (" attr(href) ")"; } , however I do not want it to show image links since I also removed them from CSS for printing. Is there a way to remove these links through something...
asked by 17.04.2018 / 14:49
2
answers

Tag change with javascript

I want to make the p tag be replaced by the img in the hover, already bringing an image that I have in the directory. Is it possible to do or have to do something like that? If possible, in the same function. Code: $(funct...
asked by 19.05.2018 / 14:56
2
answers

Align items on html page

I have the following code: CSS: .apoio{ float:left; } .box{ width:300px; height:100px; background-color:#666; border-radius: 10px; margin: 0 auto; } HTML: <canvas class="apoio" id="cvs" width="500" height="20...
asked by 14.02.2018 / 17:13
1
answer

Bootstrap Grid System: Can .row within .col?

I have a question regarding Bootstrap's Grid System, is it ok to use a .row within an element with class .col-x-y if I want to create more than one column within that .col-x-y ? In short, is it a good practice or not to us...
asked by 18.04.2018 / 15:12
2
answers

Dynamic redirect with CSS or SASS

I have a website, and I'm working responsiveness on it. I have a mobile version, similar to a Web app, in a specific directory within the project. Currently when the screen resolution is less than 768px, it automatically redirects to the mobile...
asked by 18.04.2018 / 19:53
1
answer

How to draw dotted lines from the selection in Firefox, Edge and IE [duplicate]

How do I get these dotted lines off the menu when the link is selected? I've already tried using outline:none , but it only works on Chrome, Firefox, Edge, and IE does not change anything.     
asked by 01.03.2018 / 12:58
1
answer

Stop function when mouse / cell pass

I have the following code: I would like to know some function that can stop the cellphone by mouseover for about 10 seconds, after the arrow is removed from above. Thank you in advance! <!DOCTYPE html> <meta charset="UTF-8">...
asked by 06.02.2018 / 03:19
2
answers

Apply watermark without affecting text

I put an image inside a table representing the watermark, but when I add opacity to the table all content is affected. Follow CSS: table{ background:url("../../../assets/img/empresa/business_logo.png") no-repeat; background-size: 100%...
asked by 06.02.2018 / 13:47
1
answer

Background with gradient and ripples

I wonder if it's possible to create the effect of the image below using CSS. Doing the gradient is quiet, but I have difficulty making the ripples. #teste { width: 100%; height: 300px; background-image: linear-gradient(to top, #30...
asked by 05.04.2018 / 20:46
1
answer

Code only works when you restart the PC

I'm creating an application mostly in PHP, and it occurred a few times when making a call in Java, JQuery or CSS and sometimes even another page in PHP and it does not work as it should. I ran the code and everything was ok. So I restart the...
asked by 26.01.2018 / 12:57