


Views
Replies
Sign in to like this content
Total Likes
Hi Sneha,
Is it specific to CSS? if yes there are plenty of examples available on google. for instance check below one -
https://www.w3schools.com/css/css_background.asp
Apart from this, if you are writing some custom HTL in components so please make sure you use the <sly> tag. <div> tag creates a extra space.
Thank you,
Prince
Hi Sneha,
Is it specific to CSS? if yes there are plenty of examples available on google. for instance check below one -
https://www.w3schools.com/css/css_background.asp
Apart from this, if you are writing some custom HTL in components so please make sure you use the <sly> tag. <div> tag creates a extra space.
Thank you,
Prince
Below is the keywords for trim the white space using css.
/* Keyword values */
white-space: normal;
white-space: nowrap;
white-space: pre;
white-space: pre-wrap;
white-space: pre-line;
white-space: break-spaces;