<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CSS Minification with clamp() in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/435124#M22926</link>
    <description>&lt;P&gt;Subpixels at geo coordinate precision levels.... There's something you don't see every day. Some light reading for the technical bits of why such precision is pointless if interested:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ieeexplore.ieee.org/document/8766229" target="_blank" rel="noopener"&gt;https://ieeexplore.ieee.org/document/8766229&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Rasterisation" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Rasterisation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Font_rasterization" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Font_rasterization&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Sub-pixel_resolution" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Sub-pixel_resolution&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Subpixel_rendering" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Subpixel_rendering&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Font_hinting" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Font_hinting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of historical interest.... On legacy browsers and modern ones the variations in subpixel rendering is quite interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="source" style="width: 499px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/42216i2C17B7CA56E83146/image-size/large?v=v2&amp;amp;px=999" role="button" title="source" alt="source" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 22:34:54 GMT</pubDate>
    <dc:creator>Ntbrown</dc:creator>
    <dc:date>2021-05-06T22:34:54Z</dc:date>
    <item>
      <title>CSS Minification with clamp()</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/434394#M22874</link>
      <description>&lt;P&gt;When my CSS is minified it is having the whitespaces in the clamp() function removed, making it a invalid property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;clamp(21px,15.5454545455px+1.7045454545vw,33px)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should be like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;    font-size: clamp(21px,15.5454545455px + 1.7045454545vw,33px);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way I can ensure the whitespace remains here after minification?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is also the case in here - "&lt;SPAN&gt;I figured this out by using the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/cms/developer-reference/debugging-and-errors#hsdebug-true" target="_blank" rel="noopener nofollow noreferrer"&gt;?hsDebug=true&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;in our url(s) to see what hubspot is doing. Sure enough, it looks like the hubspot minifier is killing the property, since the css works fine in debug mode."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 08:42:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/434394#M22874</guid>
      <dc:creator>MWyatt</dc:creator>
      <dc:date>2021-05-06T08:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Minification with clamp()</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/434742#M22899</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;potentially similar to &lt;A href="https://community.hubspot.com/t5/CMS-Development/Hubspot-s-CSS-Minification-Causing-Issues/td-p/421636" target="_blank" rel="noopener"&gt;this Tailwind minification issue&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 08:35:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/434742#M22899</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2021-05-06T08:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Minification with clamp()</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/434912#M22914</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/176229"&gt;@MWyatt&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103660"&gt;@piersg&lt;/a&gt; I can reproduce the issue in my portal.&amp;nbsp; Am getting some additional eyes on it&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/176229"&gt;@MWyatt&lt;/a&gt; ,&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-css"&gt;&lt;CODE&gt;15.5454545455px + 1.7045454545vw&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;were you challenging yourself to see how many decimal points you could get in there &lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 14:02:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/434912#M22914</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-05-06T14:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Minification with clamp()</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/435104#M22924</link>
      <description>&lt;P&gt;Following up here,&lt;/P&gt;
&lt;P&gt;There is an issue with the current minfier which is causing the issue.&amp;nbsp; There is an new minifier on the horizon, but not quite ready yet. We are going to patch the present minifier to accomodate for this issue. &amp;nbsp; Patch should be issues shortly. &amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/176229"&gt;@MWyatt&lt;/a&gt; thanks for bringing this issue up.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 21:07:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/435104#M22924</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-05-06T21:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Minification with clamp()</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/435124#M22926</link>
      <description>&lt;P&gt;Subpixels at geo coordinate precision levels.... There's something you don't see every day. Some light reading for the technical bits of why such precision is pointless if interested:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ieeexplore.ieee.org/document/8766229" target="_blank" rel="noopener"&gt;https://ieeexplore.ieee.org/document/8766229&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Rasterisation" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Rasterisation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Font_rasterization" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Font_rasterization&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Sub-pixel_resolution" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Sub-pixel_resolution&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Subpixel_rendering" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Subpixel_rendering&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Font_hinting" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Font_hinting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of historical interest.... On legacy browsers and modern ones the variations in subpixel rendering is quite interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="source" style="width: 499px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/42216i2C17B7CA56E83146/image-size/large?v=v2&amp;amp;px=999" role="button" title="source" alt="source" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 22:34:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/435124#M22926</guid>
      <dc:creator>Ntbrown</dc:creator>
      <dc:date>2021-05-06T22:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Minification with clamp()</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/435128#M22927</link>
      <description>Fix has been deployed.  Will need to republish the file to be reminified</description>
      <pubDate>Thu, 06 May 2021 22:51:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Minification-with-clamp/m-p/435128#M22927</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-05-06T22:51:49Z</dc:date>
    </item>
  </channel>
</rss>

