mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Base: Add example for calc(<percentage> - <length>)
to calc.html
`calc(<percentage> + -<length>)` did work before, but a direct `calc(<percentage> - <length>)` was broken. Let's have a test for both.
This commit is contained in:
parent
b3a22c97cd
commit
3c9bf1e161
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,11 @@
|
||||||
<div class="box" style="width: calc(50% + 60px);"></div>
|
<div class="box" style="width: calc(50% + 60px);"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<p>calc(50% - 60px)</p>
|
||||||
|
<div class="container">
|
||||||
|
<div class="box" style="width: calc(50% - 60px);"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>calc(50% + -60px)</p>
|
<p>calc(50% + -60px)</p>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="box" style="width: calc(50% + -60px);"></div>
|
<div class="box" style="width: calc(50% + -60px);"></div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue