Dynamic width for block elements using CSS
Posted: Tue Sep 04, 2018 8:40 am
Hi
Is it possible to have different width for the block elements using oXygen css when it is collapsed and expanded.
We have draft-element which is a block element,We want to have to reduce the width of block when it is collapsed and we want to have different width when it is expanded.
Regards
Shabeer
Is it possible to have different width for the block elements using oXygen css when it is collapsed and expanded.
We have draft-element which is a block element,We want to have to reduce the width of block when it is collapsed and we want to have different width when it is expanded.
Code: Select all
*[class~="topic/draft-comment"]{
-oxy-foldable: true;
-oxy-folded:true;
display: block;
width : 50em;
border-left: thick solid;
border-right: thick solid;
}
Shabeer