Questions tagged as 'css'

2
answers

how to leave my button on the menu marked?

When I click on a button I want it to be marked white, if I click on another, uncheck the old one and leave the new one checked var menu = document.querySelectorAll("#menu > ul > li > a"); for(var i = 0; i < menu.length; i++...
asked by 28.01.2018 / 11:02
1
answer

How to swap the SVG drawing for a PNG image after completing the animation?

Good afternoon! I put an SVG drawing on my site, and I put an animation for when the drawing is visible on the screen, start drawing animation by "completing", follow the JS code. document.addEventListener('DOMContentLoaded', function() {...
asked by 03.12.2017 / 18:00
2
answers

Click anywhere in the li and run the href from the

You can see that <a> is clickable, ie I click on it and it redirects me to another location for example, but I would like to know how I can click everywhere from <li> to occur redirection and not only in <a>...
asked by 27.01.2018 / 22:32
1
answer

Get HTML with jQuery by pressing button

I have a simple system that takes the HTML of a file and places it in a single dynamic index . Example: <a onclick="carregar('cartaonatal/natal.html');" href="#">Agradecimento</a> //chama a função function carregar(pagina){...
asked by 04.12.2017 / 02:33
3
answers

How to leave the ends of a div transparent?

I want to apply a color in div and on the sides of it it becomes clearer until transparent, can you do it with CSS?     
asked by 15.01.2018 / 20:56
2
answers

Adding buttons in the upper right corner of div

I'm using bootstrap, HTML and CSS in a responsive layout and wanted to add two buttons in the upper right corner of the DIV HowcanIaccomplishthis?regardlessofwhat'sinsidethediv?forexample<div><img></div>or<div><p&g...
asked by 01.02.2018 / 20:58
2
answers

How to add delay to Display: block

I'm creating a website, and I'd like it to have a "button" with the WhatsApp icon, and by hovering over that button, it would expand and show the number I put there. Currently the code looks like this: HTML: <div id="whatsapp"></di...
asked by 29.09.2017 / 14:25
1
answer

Source icons BOOTSTRAP / CSS

I was looking at some websites and saw that they are using some icons, but without the need to put an image, a font is used, I found it very interesting because you can change size, color without many changes, I would like to know how I can impl...
asked by 02.10.2017 / 19:08
2
answers

Can you create a menu from an image?

Let's say I'm creating a website, and I put this image icon, and when I click on that image, open a menu, / a> Sorry if this is very obvious, but I only saw menus with lists, I researched and I did not find one that was in that style.     
asked by 01.10.2017 / 18:21
2
answers

Dropdown Menu Items do not change color [closed]

UPDATE I'm developing a web application and put the bootstrap menu and would like the menu items to change color and not be in that black color, but in color #00008B Menu items HTML<ulclass="dropdown-menu">...
asked by 17.10.2017 / 18:30