Questions tagged as 'css'

1
answer

Change image when clicking, when you click again return the initial image

I need to change the icon every time I click and hold that other icon until clicking again, then it goes back to the initial icon. How to do this? Below is the code I am using to create this menu. The part that calls the icon is <span clas...
asked by 26.01.2018 / 15:01
1
answer

Line changes color when value is false

I have a list of users and each user can be disabled or enabled. I would like the user to set the 'false' value to change the color to gray. HTML: <tbody> <tr *ngFor="let user of users" > <td>{{user.user}}&...
asked by 06.11.2017 / 21:47
1
answer

How to link a different style sheet from the base template style sheet in django

Let's say that we have the following template as the basis of a project in django (Here it will be called base.html ): {% load staticfiles %} <html lan="pt-br"> <head> <link rel="stylesheet" type="text/css" href="{%...
asked by 22.08.2017 / 23:57
1
answer

Icons do not appear - Awesome Font

The icons used in the awesome font do not appear on my site, just a few squares, I do not understand why. It's the same as this topic: LINK As it was not fixed, I posted it again for help. Would anyone know why? In my head is a CDN l...
asked by 18.09.2017 / 05:53
1
answer

How to change the icon of the mobile menu icon to indicate toggle closing?

I'm creating a responsive menu from scratch using html, css and jQuery. I was able to create it and it is working the opening and closing of toggle after click function on an image (the menu icon). The idea is now to make clicking on the menu ic...
asked by 13.09.2017 / 15:41
1
answer

How to change html data-start-height by Media Queries?

I have a site based on a template that I bought in themeforrest, the homepage banner for this site has its height adjusted by this attribute: data-start-height (which I had never used, I know html and css intermediately). I would like to chang...
asked by 11.09.2017 / 20:16
2
answers

Format table color CSS

I would like my table to look like this. ButwhenIaddthecontenttoit,itlookslikeI'mnotabletoleaveitasthetableabove. functionlistarProdutos(){varconteudo="<table border='1'>"; conteudo+="<tr>"; conteudo+="<div class='ind...
asked by 28.09.2017 / 22:00
1
answer

Why even with margin 0 and padding 0 is there still space between the elements?

I have 3 buttons next to each other and I wanted them to have 1px of margin just between them but it's getting much more: Thehtml:<divclass="popup"> <p id="popupText">TRUCO!</p> <div class="popup-buttons">...
asked by 23.09.2017 / 15:37
1
answer

dropdown-menu does not work Bootstrap

UPDATE I am developing an application and I am making the menu and clicking on the Enter / Register it does not appear the items of dropdown-menu bootstrap does not work <meta http-equiv="Content-Type" content="text/html; chars...
asked by 30.09.2017 / 06:44
1
answer

a div inside another div with absolute position will have absolute position too?

If I have a div within another div: <div id="div1"> <div id="div2"></div> </div> And for div1 I define absolute position: #div1 { position: absolute; } Will div2 also have absolute position?     
asked by 12.08.2017 / 19:50