<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mommocmoc</title>
    <description>The latest articles on DEV Community by mommocmoc (@mommocmoc).</description>
    <link>https://dev.to/mommocmoc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F186330%2Fd2ab90a1-ab65-4fd8-9a4f-aa2e5ca86eab.png</url>
      <title>DEV Community: mommocmoc</title>
      <link>https://dev.to/mommocmoc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mommocmoc"/>
    <language>en</language>
    <item>
      <title>Answer: How to change the length/position of text-decoration:underline?</title>
      <dc:creator>mommocmoc</dc:creator>
      <pubDate>Mon, 23 Aug 2021 14:23:53 +0000</pubDate>
      <link>https://dev.to/mommocmoc/answer-how-to-change-the-length-position-of-text-decoration-underline-2oii</link>
      <guid>https://dev.to/mommocmoc/answer-how-to-change-the-length-position-of-text-decoration-underline-2oii</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/51521478/how-to-change-the-length-position-of-text-decorationunderline/51521577#51521577" rel="noopener noreferrer"&gt;
              &lt;span class="title-flare"&gt;answer&lt;/span&gt; re:  How to change the length/position of text-decoration:underline?
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Jul 25 '18&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/51521478/how-to-change-the-length-position-of-text-decorationunderline/51521577#51521577" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          5
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;Use gradient and you can easily adjust size and position:&lt;/p&gt;
&lt;div class="snippet" data-lang="js"&gt;
&lt;div class="snippet-code"&gt;
&lt;pre class="snippet-code-css lang-css prettyprint-override"&gt;&lt;code&gt;.underline {
  background-image: linear-gradient(#5fca66, #5fca66);
  background-position: bottom center; /*Adjust the background-position to move the line*/
  background-size: 80% 2px; /*Adjust the background size to control length and height*/
  background-repeat: no-repeat;
  padding-bottom: 4px; /* this can also control the position&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;
&lt;/div&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/51521478/how-to-change-the-length-position-of-text-decorationunderline/51521577#51521577" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;텍스트 데코레이션은 텍스트 길이에 맞게 길이가 제한됨&lt;br&gt;
=&amp;gt; 이 방법으로 원하는 길이/위치/두께 조절이 비교적 쉽고빠름&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
