Questions tagged as 'css'

1
answer

Does not set display as flex when mouse over

While passing the mouse over the name class does not appear .img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); } .img:hover { filter: grayscale(0%); } .img:hover .name { display: f...
asked by 28.06.2017 / 02:40
1
answer

Footer does not stay fixed at end of screen

I created a page where you will have a footer that should be fixed at the bottom of the page, when the page starts it has a certain size in total and the footer usually works at the beginning: ButonthesamepageIhaveabuttonthatdisplaysacontain...
asked by 28.06.2017 / 15:37
1
answer

replace color box by image in css

Good afternoon guys, next I have some text boxes that are being formatted via css I would like to know if it is possible to change the formatting of these boxes for images without having to change the formatting in the main html or script pages....
asked by 19.06.2017 / 17:41
1
answer

absolute DIV respect padding of the parent DIV

I need to put a div with the property position = absolute . However,% of parent% has div and padding of width: 100% child does not respect this div . Would the only output would be to set padd...
asked by 19.07.2017 / 21:47
2
answers

Make border-bottom stay the same width as text

I have the following code footer ul li h3 { font: 700 15px/40px 'Roboto', sans-serif; border-bottom: 1px solid #4da494; text-transform: uppercase; color: #4da494; margin: 25px 0; width: 50%; cursor: default;} I've placed width: 50% just t...
asked by 10.07.2017 / 22:41
1
answer

Why is my div getting an extra 40px?

I am studying css3, I am creating crids inside crids and there is something wrong, my ul that has with the "side" class is gaining extra 40px, consequently the child li "grid1" has space left in 40px. / p> index: <!DOCTYPE html> &l...
asked by 09.07.2017 / 16:50
1
answer

Change the hover of the bootstrap btn class

Hello. I have a menu with bootstrap, however a certain item is with the btn-success class. The problem is when I hover over this item, the background turns white. How would I make the background to remain green? <div class="navbar navbar...
asked by 11.07.2017 / 13:55
1
answer

Jquery help does not appear

I have a problem on my site, I had the help of a forum member who gave me a jquery code, I put it to run on my site, but I have a problem with it, the warning that should be generated does not appear, Can someone help me? #topo { background...
asked by 11.06.2017 / 16:43
1
answer

How to clear the contents of a variable inside a JQUERY function?

I'm starting to study Javascript and Jquery I'm developing the following page: TheproblemisthatwhenIclickonanewdatetheoldoneisnotresetasPrintbelow: IhavetriedeverythingtocreateaResetfunction,use.removebutnothingworks.Iwouldlikesomehelp!Herearem...
asked by 12.06.2017 / 22:26
1
answer

Use php to set the column width depending on the result of the while

I have the following code $result_categorias = "SELECT * FROM categorias ORDER BY ordem ASC"; $resultado_categorias = mysqli_query($conn, $result_categorias); $total_categorias = mysqli_num_rows($resultado_categorias); $quantidade_pg = 3; <...
asked by 13.06.2017 / 14:48