calc Questions
2
Solved
I am trying to use calc() to get my page contents to fit on the page perfectly. I have a header with a height of 52px. I am trying to make a container 100% of the page -50px to it fits onto the pag...
2
Solved
I have column with cell format date or time (DD.MM.YYYY HH:MM:SS) and values like
03.12.2013 14:01:49
04.12.2013 10:19:27
04.12.2013 12:44:56
04.12.2013 14:20:12
04.12.2013 18:30:21
I need those ...
Rooker asked 28/10, 2019 at 22:48
2
I want something like this:
height: calc(width + 5px);
This is just a small example but I'm ultimately looking for a way to use the set width as a part of the calculation, not a simpler way to s...
6
Solved
Is there an alternative for @media queries to accomplish font-size inversely proportional to the screen size? (e.g.: opposite effect of 2vw, where the font gets smaller on small screens);
My first...
2
Solved
Imagine I have a <div> with some <p> in it:
#myDiv {
width: max-content;
border-style: dashed;
}
<div id="myDiv">
<p>This is my text</p>
</div>
But...
4
I want to obtain the sum of several cells containing a period of time in the format HH:MM:SS.
In LibreOffice Calc 4.0.3.3, I've copy-pasted the periods of time in the range G14:G21, and formatted t...
Ithaman asked 22/5, 2013 at 20:42
4
I am wanting to use env(safe-area-inset-bottom) to add margin-bottom to an element, but only when the device is an iPhone X. However, the margin added using env(safe-area-inset-bottom) does not add...
4
Solved
Why I am asking this question?
I don't want to create so many media queries for really big screens.
If the screen size is bigger than 1920px, all the existing proportions should remain the same, an...
1
Solved
In excel all formulas are translated, e.g. I can write SUMME instead of SUM, or HEUTE instead of TODAY.
I can't find an option to change the language, except for the UI. Is it possible to change th...
Jansson asked 6/7, 2020 at 16:8
2
Solved
There is a grey square which positions the 4 small squares
There is a black square which there will be 4 small squares in each side's center of the black square.
For normal web, I can do it by calc...
Moleskins asked 18/3, 2020 at 4:1
4
Solved
Everything is in the title. I can not incorporate several Stylus variables in the function CSS calc ().
I created a code Sass, I would convert myself under Stylus:
// *.scss
$gutter : 1rem;
.si...
3
How can I convert hexadecimal to decimal numbers in Emacs calc?
For example, if I enter FF, I want it to convert it to 255.
UPDATE: How do I get the reverse operation, turn base 10 to base 16?
4
Solved
Let's say we have a container that is centered in the viewport ...
.centered{margin: 0 auto; width:960px;}
... and inside that container I have another that needs to have a width of 100% the vie...
1
Solved
I am attempting to create a layout using Flexbox. In one of these layouts, I want 3 equal width columns. To accomplish this I am using calc to set the column width. This is working fine in modern b...
Centaur asked 5/10, 2018 at 15:27
5
Solved
If I use a calculator, 2/3 is 0.6666666667 which is about 67%. However if I try to do the same thing with css calc I get an error.
width: calc(2 / 3);
Is there a working way for this?
I don't t...
Flews asked 28/6, 2017 at 14:57
1
I'm currently using the following rule:
margin-left: calc(((100vw - 624px) / 144) * 5);
At 1200px viewport width this gives a value of 20px. What I actually want, however, is to get a result of ...
1
Solved
One video processing software vendor i work with uses the multiplicator "27000" to describe in and out points of videos in full numbers. I never got out why...
One example:
We want to describe the...
3
Solved
Points:
A -2.08576 1.76533 -0.46417
B -0.95929 0.87554 0.03365
C 0.28069 1.66193 0.42640
D 0.62407 2.22927 -0.44649
So far, I have done:
#!/bin/bash
awk 'NR==1' $FILE > LINEA
awk 'NR==1' $FI...
3
Solved
Is something like this possible in CSS?
<table>
<tr>
<td id="elementOne">elementOne</td>
<td id="elementtwo">elementtwo</td>
</tr>
</table>
<...
2
I have several cropped rasters with different geometry/outlines. Specifically spatial yield maps from several years of the same field, but the extent varies - the measurements were not always overa...
3
caniuse.com shows calc() can be used today in all modern browsers except Opera. But how good is the support for calc() in email clients?
Please provide a link to blogs or guides which talk about t...
Denney asked 10/10, 2015 at 13:42
3
Solved
This is the code which I currently have (it does not work yet):
HTML:
<div class="chi_display_header" style="background-image:url('http://localhost/.../header-dummy-small.png');&q...
2
Solved
aye folks!
is it possible to have dynamic height calculation with css3? i couldn't find anything.. but maybe i'm just using the wrong terms for my search.
the problem: i have a site where i want ...
Olander asked 14/12, 2016 at 12:55
2
Solved
I am trying to figure out a way to make a variable negative.
I have attempted right: calc(0-var(--skyve-bredde)); bit it did not work.
This is the variable:
#drawer, #burger{
--skyve-lengde:50%;
...
Bartlett asked 14/11, 2016 at 8:34
5
Solved
Within the css calc() function, what does 100% refer to and what is the equivalent code in JavaScript?
#div1 {
width: calc(100% - 100px);
}
JSFiddle: https://jsfiddle.net/xoufnm6v/
Drew asked 10/2, 2016 at 9:56
1 Next >
© 2022 - 2025 — McMap. All rights reserved.