Questions tagged as 'css'

3
answers

Get font size in HTML

I need to get the information from the font that is set up in the HTML tag with JQuery. I know that to get the size of the font-size just use: css: p {font-size: 12px;} JS: var tamanho = $("p").css('font-size'); The question is,...
asked by 06.10.2017 / 20:39
3
answers

CSS Change Time with JavaScript

I have a function: function togglePopup1() { document.getElementById('desktop-card').style.width = '480px'; } The code is for width of the page to increase with a click. But how do I make this change happen, for example, in 2...
asked by 16.11.2018 / 08:28
3
answers

How do I get the logo to disappear when I scroll the page?

I am creating a menu with version 4.1.3 of Bootstrap and would like to know how can I make to scroll the page to disappear? In this case, only the menu should stay.    Note: When returning to initial position the logo should reappear. The...
asked by 21.09.2018 / 15:56
1
answer

I can not hide an element with css by taking the data-column attribute

I have an input with the code below: <input type="search" class="filtro tablesorter-filter" placeholder="" data-column="1"> I'm using a css page to try to hide it: <style> input[data-column=1] { display:none } </style>...
asked by 18.12.2013 / 19:42
3
answers

How to remove internal traces of a SELECT in Firefox

Once again I realize that Firefox is putting "additional styling" into my inputs. This time, in <select> , when I click on it to select an option, an internal dash always appears: This is something that happens specifica...
asked by 25.10.2017 / 19:02
2
answers

How do I get text input into an input and insert it into a label?

I have the following code <div class="index-login"> <input id="email" class="input-text" type="email" placeholder="Email" > <button type="submit" class="loginBtn loginBtn--proximo btn btnProximo">Prox...
asked by 10.04.2017 / 17:02
2
answers

How can I show the value of an attribute as text using CSS?

I want to show the value of an attribute as text. <div title="12:56pm"> <span data-measureme="1"> <span>hi</span> </span> </div> Example that does not work in jsFiddle . Something like...
asked by 23.12.2013 / 16:18
2
answers

How to make this effect with CSS

I need to make those corners in div of the footer. I tried to do the triangulation scheme using pseudo-element , but I could not. border-top: 30px solid @Laranja; border-right: 30px transparent @Laranja; border-left: 30px...
asked by 06.10.2015 / 18:05
4
answers

How to make an alert with animated echo?

How to make a more animated echo, I'm using the following PHP code, which contains a alert() of Javascript: session_start(); $credito = $_GET['credito']; $soma = @$_SESSION['valor_total'] += $_GET['valor']; if($soma > $credito){...
asked by 04.02.2014 / 19:21
3
answers

How to avoid repeating the html code? [duplicate]

Good evening, folks. This is the following, I'm using the bootstrap and I would like to know how I avoid repeating the same codes in all pages, since the header and footer are the same, this would make the code more readable, I searched and sa...
asked by 19.12.2016 / 01:35