1. What can I do to make the width of a div change from left to right? 2. Dynamically drag and edit multi-level header

means that the width on the right side of the div is fixed, pull the left border, and the width shrinks from left to right

clipboard.png

div1,div2. div2div1div2

tablediv

clipboard.png

clipboard.png

Mar.04,2021

the way you say it should be right-aligned.
1. Set the natural width of float:right; to remain unchanged on the right and extend on the left;
2, absolute positioning or fixed positioning;
3, flex layout, there are also right alignment settings. You can refer to http://www.ruanyifeng.com/blo.


set div style position: absolute;right: 0; Set position:relative


to the parent element

first, put a div, in the middle of every two div as a handle (handle), to accept mouse events.

then, something like this (no documentation, the following code is pseudo code, please adapt to your base library):

  

I have an idea that while shrinking the element, translate, the element in the opposite direction. I don't know if it can be

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8dbb1-117d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8dbb1-117d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?