Questions tagged as 'css'

1
answer

How do I keep the div size independent of the text size?

I have a div that represents a square in which it is intended to display a text for the user, see: html, body { background-color: #323232; } html { font-family: 'helvetica neue', 'arial', sans-serif; font-size: 24px;...
asked by 26.01.2018 / 20:22
2
answers

div align right

I'm trying to align this div on how much right of the screen and it stays on the left only <div class="tres"> <iframe data-aa='861335' src='#' scrolling='no' style='width:120px; height:60px; border:0px; padding:0;overflow:hidden'...
asked by 14.03.2018 / 18:52
1
answer

Real size auto fit of the select via option available

I usually search and do not disturb the patience of the members here, but this time I specifically need an example. See: <!DOCTYPE html> <html> <body> <select id="lista" size="4"> <option value="A">...
asked by 10.05.2018 / 03:48
1
answer

I have a problem with a script

Good code: <!doctype html> <html><head> <meta charset="utf-8"> <title>Documento sem título</title> <!-- PLUGINS --> <link href="/plugins/animate/animate.min.css" rel="styleshe...
asked by 07.01.2018 / 11:52
3
answers

JavaScript or jQuery - Remove attribute pseudo elements

.btn-group-vertical>.btn-group:after, .btn-group-vertical>.btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .container-fluid:after, .container-fluid:before, .container:after, .container:...
asked by 05.01.2018 / 20:35
2
answers

How to simulate Login using JavaScript

Hello, I would like to simulate a login, basically when a certain email and password chosen by me are inserted the script will login with display:none; and another div that I still have to create with display:inline; Here is the...
asked by 06.01.2018 / 23:17
2
answers

Change display property with jQuery

I want to change the display of% content% to block , as it is clicking and hiding the previously clicked. How could I do this with jQuery? .conteudo_1 { display: none } .conteudo_2 { display: none } .conteudo_3 {...
asked by 20.12.2017 / 11:51
2
answers

I put a jquery and the site enters direct id

I have this script with css and jQuery of different color tabs, when I include the line: To leave the first tab open. $(document).ready(function(){ $('.abas:first').trigger('click').focus(); }); The site starts in the class...
asked by 15.12.2017 / 11:25
4
answers

Create floating button that accompanies the scroll of a table

I need to create a floating button that accompanies my scroll as I'm rolling, and in it I want to put a function back to the top. #voltarAoTopo { float:right; z-index:0; } <button id="voltarAoTopo"> <i class="material-icons...
asked by 07.12.2017 / 20:40
2
answers

Edit within a modal

I have a table with data and one of the fields has 1 edit button. What I want is that, when clicking, it opens me a modal with the data all filled out of the respective line that I clicked on. I already managed to do this, but it was not with a...
asked by 10.12.2017 / 06:19