Questions tagged as 'css'

1
answer

Get selection event + selection movement - Jquery

I would like to know how to get the event with Jquery from text selection + drag. An example of what I'm saying is to select a text and with the left mouse button pressed, move the text sideways. How do I get this event? Let's say: if cert...
asked by 05.05.2016 / 23:49
1
answer

Pin menu to the top of the page when scrolling down

I have a div with height 100% and then a navbar . I would like that when the page was down the navbar would stick to the top of the page. CSS ul.navbar { list-style-type: none; margin: 0; padding: 0; overflow: hidden;...
asked by 29.01.2017 / 03:58
2
answers

What is the combination of table and float?

Everyone who plays web programming has gone through this: .children { float: left; } <div class="parent"> <div class="children"> Teste </div> </div> If you use Inspect Element above you may...
asked by 02.02.2017 / 13:44
1
answer

Equal shadow effect on gmail login screen

How to do the same shadow effect by clicking on the show / hide password same button you have on the Google login. I have tried to do with the pseudo-element: before : focus but I did not succeed. const btn_password = $(".viewPasswor...
asked by 05.12.2018 / 19:47
1
answer

How to run a hide in JavaScript from one part of the page to the other:

Sorry for the confusing question, I'll try to explain it better: I'm making a website, and I've used pages that fill the entire screen, and they center the content, one below the other. There is also a menu at the top, with a transparent back...
asked by 13.12.2018 / 12:50
1
answer

How to make the HTML table inside another table occupy the entire screen?

I have an HTML table with 3 columns and 3 rows and for each cell in this table I have another HTML table with 3 columns and 2 lines and I'm trying to make it work evenly across the entire screen. I tried to add width:100% and...
asked by 24.11.2018 / 23:35
1
answer

CSS - Format a table

I have a table that has a very complex header and I am not able to stylize, the table lines get a higher height in the fields that were left with 2 lines, how can I fix this? Follow the link JSFiddle Thank you! EDIT: and I also need...
asked by 09.09.2016 / 01:27
2
answers

Make a hidden form

I'm developing a basic CRUD, and I need it when the user clicks EDIT, open a form below, or the side, it does not matter, with the fields for it to edit such information, and when you click OK, the field disappears and show the edited fields. &...
asked by 29.05.2016 / 19:59
1
answer

Code reuse with web language

I'm working on three different apps that use Ionic and Cordova . The three are very similar in some points mainly in the layout. I wonder if it's possible to create a kind of library or something that I modify only once and replicate to...
asked by 21.10.2016 / 18:03
1
answer

Hide div's ScrollBar with overflow: auto

I have a% d% d that groups all site content with the following css: margin: 15px 12px; background: #fff; padding: 20px; height: calc(100vh - 30px); overflow: auto; My body has .content different, to simulate a border. It's 100% funct...
asked by 03.11.2016 / 23:03