Questions tagged as 'css'

2
answers

Calculating font size using css?

Could anyone please explain to me how the calculation capabilities for font sizes using CSS work? Example: font-size:calc(1.73vw + 48.74px); Thank you     
asked by 09.03.2017 / 23:15
2
answers

How to avoid the page load when I click Calculate in the form with JavaScript

I'm doing this program for a college job with HTML CSS and JS. But whenever I click on calculate the page reloads and the result consequently somo. I've already tried other questions here and in other forums but I did not find anything that work...
asked by 26.02.2018 / 21:52
4
answers

Image occupy entire column

I have the following html structure: <div class="col-8 ml-2 bg-secondary"> <h3 class="">Ultimas Notícias</h3> <div class="card"> <div class="row"> <div class="col-3 b...
asked by 19.03.2018 / 17:50
1
answer

Print single element on all print pages

I'm developing a WEB system and at the time of printing the precise screen I put at the end of each page a imagem , is it possible? So far I have the following code: .hide{ display: none; } <!DOCTYPE html> <h...
asked by 23.02.2018 / 16:02
2
answers

I can not create a Modal with html

I'm trying to open a simple modal using HTML: .modal:target { opacity: 1; pointer-events: auto; } .modal > div { width: 400px; position: relative; margin: 10% auto; padding: 15px 20px; background: #fff; } <...
asked by 17.01.2018 / 12:52
3
answers

A multi-line column

I already looked in documentation and could not get the expected result using the bootstrap. The image best illustrates what I want to do <divclass="container"> <div class="col-lg-4"> <div class="content-section-b"&...
asked by 22.07.2014 / 19:08
4
answers

How to get height of a div by jQuery?

I have a small jQuery script for loading the page, a calculation based on the height of a div is added, and then a margin is added for the result. The problem is that you are not getting the height value of this div . In case, th...
asked by 01.10.2014 / 16:02
1
answer

Display link preview

Good evening, how do I create a preview link like facebook? I have no idea how to do that. If anyone can give me a light to know where to start, I would appreciate it.     
asked by 17.11.2017 / 05:43
3
answers

Position DIV in the center of the page

How do I align the div with transparent black background where it contains the buttons in the center of the page regardless of the monitor resolution? ThecodeI'musingisthis:.fundo{background-color:rgba(10,23,55,0.7);padding:20px;margin:200px...
asked by 23.11.2017 / 14:57
4
answers

Center a table (HTML)

I made a table in my HTML , but I could not center it in the middle of the screen. It is vertical and I already tried to put text-align:center but it did not work. td, th { padding: .7em; margin: 0; /*border: 1px s...
asked by 07.11.2017 / 12:07