CSS - Use calc() to keep widths of elements the same

后端 未结 3 2128
予麋鹿
予麋鹿 2021-02-05 06:08

Is something like this possible in CSS?

elementOne elementt
3条回答
  •  感动是毒
    2021-02-05 06:56

    Use CSS variables:

    
    
    
    elementOne elementtwo
    Element three

    You can also use variables in the calc() function:

    Element four

提交回复
热议问题