<?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: ga676005</title>
    <description>The latest articles on DEV Community by ga676005 (@ga676005).</description>
    <link>https://dev.to/ga676005</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%2F560937%2Ff8ad34cd-12b4-4dcc-a0bb-d5a054f3dc17.png</url>
      <title>DEV Community: ga676005</title>
      <link>https://dev.to/ga676005</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ga676005"/>
    <language>en</language>
    <item>
      <title>My first library😁</title>
      <dc:creator>ga676005</dc:creator>
      <pubDate>Sun, 21 Mar 2021 17:03:10 +0000</pubDate>
      <link>https://dev.to/ga676005/my-first-library-a6i</link>
      <guid>https://dev.to/ga676005/my-first-library-a6i</guid>
      <description>&lt;p&gt;Hi! I'm Gohomewho, a front-end beginner. There are so many cool things to learn in this field and I'm excited to be here. Recently, I've made my first library, it is a tooltip library. Now let me introduce it to you, and see how it works. &lt;/p&gt;




&lt;p&gt;I like to customize stuff, so I add many customizable features. sometimes it may seem to be unnecessary, but it is nice to have if you need it.&lt;/p&gt;

&lt;h1&gt;
  
  
  Features:
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Supports 8 directions and can be configured in a specific order.&lt;/li&gt;
&lt;li&gt;Automatically switch to other positions if it doesn't have enough breathing space.&lt;/li&gt;
&lt;li&gt;Configurable background color and text color, and the text itself of course!&lt;/li&gt;
&lt;li&gt;It has a nice animation pointer. The pointer is simply an HTML entity, which means it is also configurable. if you don't like it you could exclude it!&lt;/li&gt;
&lt;li&gt;Add extra space to the distance between the tooltip and element if you like.&lt;/li&gt;
&lt;li&gt;You could also specify the font size and arrow size without writing CSS.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://gogotooltip.netlify.app/"&gt;DEMO&lt;/a&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Press ↑↓←→ to move the element. &lt;/li&gt;
&lt;li&gt;To change the pointer, you can get HTML code from &lt;a href="https://www.toptal.com/designers/htmlarrows/arrows/"&gt;here&lt;/a&gt;, you have to specify the &lt;strong&gt;direction&lt;/strong&gt; where the arrow points toward &lt;em&gt;(up/right/down/left)&lt;/em&gt;. &lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  How to use
&lt;/h1&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i3JOwpme--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/ga676005"&gt;
        ga676005
      &lt;/a&gt; / &lt;a href="https://github.com/ga676005/Tooltip-Library"&gt;
        Tooltip-Library
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;ol&gt;
&lt;li&gt;Download tooltip.js and tooltip.css in src folder.&lt;/li&gt;
&lt;li&gt;Add them to your project.

&lt;ol&gt;
&lt;li&gt;Import tooltip.js to your main.js.&lt;/li&gt;
&lt;li&gt;Add type="module" to script tag in HTML if you are not using bundler.&lt;/li&gt;
&lt;li&gt;Integrate tooltip.css to your CSS file.&lt;/li&gt;
&lt;/ol&gt;


&lt;/li&gt;
&lt;li&gt;Create an element with data-tooltip="some text". Done!
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;Import&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;./tooltip.js&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"module"&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"main.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;I was following the markdown course on scrimba and then wrote my first article. Thanks for reading!😊&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>css</category>
      <category>html</category>
    </item>
  </channel>
</rss>
