Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
Solved! Go to Solution.
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
View solution in original post
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;
Views
Likes
Replies