Questions tagged as 'css3'

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

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
1
answer

Catch the parent element in hover

Good Morning! Is it possible to change the parent element by hovering on the child? For example, I have the following: nav {border:2px solid red} nav ul li {color:#fff} nav ul li a:hover {background-color:#ccc} nav ul li a:hover...
asked by 14.04.2015 / 14:06
2
answers

Make shapes with CSS [duplicate]

I need to do this with CSS. But it can not be border . Follow the form: It can not be bordered because forms using border do not allow me to place text within them.     
asked by 01.12.2015 / 16:35
3
answers

How to customize input file? [duplicate]

I need to customize a file-type input, but all the examples I've found seem to be tricky and do not work with multiple, rs It needs to look like this: Is there a way to do it with CSS?     
asked by 09.11.2015 / 17:56
1
answer

How to make dynamic animations with CSS3?

I can do animations with transition, rotate +: hover or triggering class change with JS. But what if I want an animation in CSS3 that when rendered makes more than one movement without being 'limited to a pair of keys'? ps: At the moment I...
asked by 07.12.2014 / 02:59
1
answer

How do the Scroll center on the elements inside the container?

Imagine that I have an image gallery that is inside a container . However each image in the gallery has a size as the image: WhatIwouldliketodoisasnap,sothatatthetimeofscrollatsomepointthetargetelementgoestocontainercontrolasthisgif.Noticet...
asked by 25.09.2018 / 20:45
1
answer

How to reformulate the UI of the radio and checkbox?

I'm using custom radio and checkbox from the bootstrap , I noticed that some customers had difficulty assimilating checkboxes or radios and that should perform the action of selected. Example: <script src="https://ajax.googleapis....
asked by 12.02.2016 / 17:46
3
answers

Why use layout before loading information?

I see in several web applications that before displaying the content is displayed some blocks looking like an image, the blocks that I speak in the image are those of the sidebar. Why use this and how to use it? Image of an application:...
asked by 28.06.2016 / 17:37
1
answer

How to prevent the contents of an element from being copied after Ctrl + A and Ctrl + C?

I have a page and I want to allow copying normally, but I would like specific elements not to be copied after using Ctrl + A and Ctrl + C , for example forms, navigation menus and banner ads. This is because the content is usually what...
asked by 08.04.2016 / 20:53