<?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>Forem: Chris Texe</title>
    <description>The latest articles on Forem by Chris Texe (@texe).</description>
    <link>https://forem.com/texe</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%2F757238%2F5e8c5e0e-16e9-4c15-8349-4255a86a0567.jpg</url>
      <title>Forem: Chris Texe</title>
      <link>https://forem.com/texe</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/texe"/>
    <language>en</language>
    <item>
      <title>Keychron Linux Function Keys</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Fri, 24 Nov 2023 08:58:00 +0000</pubDate>
      <link>https://forem.com/texe/keychron-linux-function-keys-2dln</link>
      <guid>https://forem.com/texe/keychron-linux-function-keys-2dln</guid>
      <description>&lt;p&gt;I have a &lt;strong&gt;Keychron K8&lt;/strong&gt; keyboard. I like this keyboard so much! If you have a Keychron keyboard you noticed that in Linux when you press e.g. F2 key in order to change name of some file you adjust brightness (in my case). Default behavior of these keyboards is multimedia keys in function keys.&lt;/p&gt;

&lt;p&gt;The second problem I noticed: reconnection takes very long time. I had to try many times to connect after disconnect. It was so frustrating...&lt;/p&gt;

&lt;p&gt;So I found a solution in these two articles:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://mikeshade.com/posts/keychron-linux-function-keys/"&gt;Mike Shade&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/andrebrait/961cefe730f4a2c41f57911e6195e444"&gt;Andre Brait&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Mike resolved problem with &lt;strong&gt;function keys in Keychron keyboard&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Set the keyboard to Windows mode via the side switch&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use &lt;code&gt;Fn + X + L&lt;/code&gt; (hold for 4 seconds) to set the function key row to "Function" mode. (usually all that's necessary on Windows)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;type &lt;code&gt;echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode&lt;/code&gt; in terminal&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Andre resolved problem with slow reconnection via Bluetooth:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Edit the file &lt;code&gt;/etc/bluetooth/main.conf&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Uncomment FastConnectable config and set it to true: &lt;code&gt;FastConnectable = true&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Uncomment &lt;code&gt;ReconnectAttempts=7&lt;/code&gt; (set the value to whatever number that you want)&lt;/li&gt;
&lt;li&gt;Uncomment &lt;code&gt;ReconnectIntervals=1, 2, 3&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What I did additionally was creating autostart above commands when my system is starting up.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a file '/opt/my_scripts/keychron.sh'
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="c"&gt;#!/bin/sh&lt;/span&gt;
   &lt;span class="c"&gt;#sleep 20&lt;/span&gt;
   &lt;span class="nb"&gt;echo &lt;/span&gt;0 | &lt;span class="nb"&gt;tee&lt;/span&gt; /sys/module/hid_apple/parameters/fnmode
   &lt;span class="nb"&gt;exit &lt;/span&gt;0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Notice there is no &lt;code&gt;sudo&lt;/code&gt; in this file!!!&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Make this file executable by typing &lt;code&gt;sudo chmod a+x /opt/my_scripts/keychron.sh&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a service file: &lt;code&gt;sudo touch /etc/systemd/system/keychron.service&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Edit this file &lt;code&gt;sudo xed /etc/systemd/system/keychron.service&lt;/code&gt; and paste it:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="o"&gt;[&lt;/span&gt;Unit]
   &lt;span class="nv"&gt;Description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Keychron service"&lt;/span&gt;

   &lt;span class="o"&gt;[&lt;/span&gt;Service]
   &lt;span class="nv"&gt;ExecStart&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/opt/my_scripts/keychron.sh
   &lt;span class="nv"&gt;Restart&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;on-failure
   &lt;span class="nv"&gt;RemainAfterExit&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;true&lt;/span&gt;

   &lt;span class="o"&gt;[&lt;/span&gt;Install]
   &lt;span class="nv"&gt;WantedBy&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;multi-user.target
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Start this service &lt;code&gt;sudo systemctl start keychron&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Make it lauch automatically upon booting &lt;code&gt;sudo systemctl enable keychron&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's it. From now when I boot my system my function keys are working not in "multimedia mode" and Bluetooth reconnection is very, very fast.&lt;/p&gt;

</description>
      <category>linux</category>
    </item>
    <item>
      <title>Composer in Docker</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Sun, 14 Aug 2022 16:48:00 +0000</pubDate>
      <link>https://forem.com/texe/composer-in-docker-3f15</link>
      <guid>https://forem.com/texe/composer-in-docker-3f15</guid>
      <description>&lt;p&gt;When you are PHP developer I am sure you use Composer. In this article I will not explain here what Composer is (I assume you know it). But how to use Composer without installing PHP in your operating system? The answer is simple - use Docker. &lt;/p&gt;

&lt;p&gt;I use composer in my system (currently Linux Mint 20.3) by this command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

docker run &lt;span class="nt"&gt;--rm&lt;/span&gt; &lt;span class="nt"&gt;-v&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;:/app composer &lt;span class="nt"&gt;-V&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Let's see what parameters we have here:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;docker run&lt;/code&gt; - we run image&lt;/p&gt;

&lt;p&gt;&lt;code&gt;--rm&lt;/code&gt; - we remove this image from memory after it will finish job&lt;/p&gt;

&lt;p&gt;&lt;code&gt;-v $(pwd):/app&lt;/code&gt; - we map current directory &lt;em&gt;(pwd)&lt;/em&gt; to &lt;em&gt;/app&lt;/em&gt; directory inside of docker container&lt;/p&gt;

&lt;p&gt;&lt;code&gt;composer&lt;/code&gt; - we run composer image (it's image name)&lt;/p&gt;

&lt;p&gt;&lt;code&gt;-V&lt;/code&gt; - we check the version of composer (we don't have to do it, I did it to check if composer is working)&lt;/p&gt;

&lt;p&gt;When we will run the above command the composer will start working. First docker checks if the image is present in the local system. If yes, Docker will run it, if not, Docker will download it. So when you will run this command first time, it can take some time to download the image but later running the command will be very fast.&lt;/p&gt;

&lt;p&gt;From now every time you want to use composer you can run the above command. I know, I know, I hear your shout: &lt;em&gt;What does it mean? Should I use this long command every time?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;No you shouldn't. You can make an alias in your system. Open the &lt;code&gt;.bashrc&lt;/code&gt; file from your home directory and add at the end of this file these lines:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

&lt;span class="c"&gt;#my aliases&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;composer&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'docker run --rm -v $(pwd):/app composer'&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;From now when you will type &lt;code&gt;composer&lt;/code&gt; in your terminal, composer will start running. Of course after saving the &lt;code&gt;.bashrc&lt;/code&gt; file you have to close terminal (it was opened) and open it again in order to load the new settings form &lt;code&gt;.bashrc&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CAUTION! The &lt;code&gt;.bashrc&lt;/code&gt; file is hidden!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let's try to make an example from real life. In this example I will install Laravel application but it is only example.&lt;/p&gt;

&lt;p&gt;First let's clone Laravel repository:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

git clone https://github.com/laravel/laravel.git laravelapp/


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;We cloned all Laravel files to our local directory &lt;code&gt;laravelapp&lt;/code&gt;. Next we change directory to &lt;code&gt;laravelapp&lt;/code&gt;:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

&lt;span class="nb"&gt;cd &lt;/span&gt;laravelapp


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now we are ready to install vendor packages by using this command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

composer &lt;span class="nb"&gt;install&lt;/span&gt;

&lt;span class="c"&gt;#or if we didn't create alias:&lt;/span&gt;
docker run &lt;span class="nt"&gt;--rm&lt;/span&gt; &lt;span class="nt"&gt;-v&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;:/app composer &lt;span class="nb"&gt;install&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;We will see that composer will start downloading packages:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxuxmfej3uw525ls9r0ar.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxuxmfej3uw525ls9r0ar.png" alt="Composer in Docker"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Or course when you will use other commands, composer will work e.g.:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

composer require laravelcollective/html


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This command will install &lt;code&gt;laravelcollective&lt;/code&gt; package in your Laravel application.&lt;/p&gt;

&lt;p&gt;Is it simple? Tell me in comments what do you think.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;It would be great if you will comment or follow me on social media&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FTwitterTexeButton.webp" alt="Chris Texe Twitter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/texe/" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FLinkedInTexeButton.webp" alt="Chris Texe LinkedIn"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also you can visit my websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://varlock.net" rel="noopener noreferrer"&gt;Linux blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://madlon.eu" rel="noopener noreferrer"&gt;Web Agency website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>php</category>
      <category>docker</category>
      <category>webdev</category>
      <category>linux</category>
    </item>
    <item>
      <title>Custom tab in WooCommerce</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Thu, 04 Aug 2022 15:57:57 +0000</pubDate>
      <link>https://forem.com/texe/custom-tab-in-woocommerce-23ne</link>
      <guid>https://forem.com/texe/custom-tab-in-woocommerce-23ne</guid>
      <description>&lt;p&gt;Hello WordPress guys and gals! Sometimes when we work with WooCommerce we need to add some special tab. Recently I had to do it when I was creating a e-commerce shop for one of my client. It was a shop with clothes and every item in the shop had a size (L, M, XL etc.). So I decided to create a custom tab with "Size charts" name. In this tab I put the table with sizes.&lt;/p&gt;

&lt;p&gt;Here you can see example but it's not from the shop I talked about above:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cDk55Sqj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gh6thyv8w53frc3xsr7v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cDk55Sqj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gh6thyv8w53frc3xsr7v.png" alt="WooCommerce - Custom tab" width="430" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  So how to create a custom tab in WooCommerce?
&lt;/h2&gt;

&lt;p&gt;Just open &lt;code&gt;functions.php&lt;/code&gt; file of your theme and paste these lines of code:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;





&lt;p&gt;&lt;em&gt;It would be great if you will comment or follow me on social media&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0r5wMBzc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://madlon.eu/wp-content/uploads/sites/21/TwitterTexeButton.webp" alt="Chris Texe Twitter" width="201" height="49"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/texe/"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--v_XFBUb2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://madlon.eu/wp-content/uploads/sites/21/LinkedInTexeButton.webp" alt="Chris Texe LinkedIn" width="112" height="49"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also you can visit my websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://varlock.net"&gt;Linux blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://madlon.eu"&gt;Web Agency website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>wordpress</category>
      <category>woocommerce</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Beautiful mark tag style in CSS</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Wed, 03 Aug 2022 05:12:38 +0000</pubDate>
      <link>https://forem.com/texe/beautiful-mark-tag-style-in-css-kp6</link>
      <guid>https://forem.com/texe/beautiful-mark-tag-style-in-css-kp6</guid>
      <description>&lt;p&gt;I am sure you many times used a &lt;code&gt;mark&lt;/code&gt; tag in your HTML document. Without any styling it can be a little bit boring:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6psfah887pcidlnyefq3.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6psfah887pcidlnyefq3.jpeg" alt="Standard mark tag style"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With few lines of CSS code we can make it a little nicer, like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7nimkpp15qfgr8upwz11.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7nimkpp15qfgr8upwz11.jpeg" alt="Styled mark tag"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The whole secret is in these lines of CSS code:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;

&lt;span class="nt"&gt;mark&lt;/span&gt;&lt;span class="nc"&gt;.one&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;linear-gradient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="m"&gt;-100deg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;hsla&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;48&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;92%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;75%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;.3&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="n"&gt;hsla&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;48&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;92%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;75%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;.7&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="m"&gt;95%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;hsla&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;48&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;92%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;75%&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="m"&gt;.1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nl"&gt;border-radius&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1em&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;.3em&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;p&gt;&lt;em&gt;It would be great if you will comment or follow me on social media&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FTwitterTexeButton.webp" alt="Chris Texe Twitter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/texe/" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FLinkedInTexeButton.webp" alt="Chris Texe LinkedIn"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also you can visit my websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://varlock.net" rel="noopener noreferrer"&gt;Linux blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://madlon.eu" rel="noopener noreferrer"&gt;Web Agency website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
      <category>design</category>
    </item>
    <item>
      <title>CSS animations - Zoom image</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Tue, 02 Aug 2022 08:23:08 +0000</pubDate>
      <link>https://forem.com/texe/css-animations-zoom-image-c00</link>
      <guid>https://forem.com/texe/css-animations-zoom-image-c00</guid>
      <description>&lt;p&gt;I am sure you saw many times on some website image with this kind of animation:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fklyqt4rp8jq8nutex02w.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fklyqt4rp8jq8nutex02w.gif" alt="Zoom image with CSS"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The CSS code for this effect can not be very difficult:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;

&lt;span class="nc"&gt;.ct-animate-zoom&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;zoom_image&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;zoom_image&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;scale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;scale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;We defined animation and we scale from 0 to 1 our image. Simple, isn't it?&lt;/p&gt;




&lt;p&gt;&lt;em&gt;It would be great if you will comment or follow me on social media&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FTwitterTexeButton.webp" alt="Chris Texe Twitter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/texe/" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FLinkedInTexeButton.webp" alt="Chris Texe LinkedIn"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also you can visit my websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://varlock.net" rel="noopener noreferrer"&gt;Linux blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://madlon.eu" rel="noopener noreferrer"&gt;Web Agency website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>CSS animations - slide text</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Mon, 01 Aug 2022 06:24:00 +0000</pubDate>
      <link>https://forem.com/texe/css-animations-slide-text-5f8j</link>
      <guid>https://forem.com/texe/css-animations-slide-text-5f8j</guid>
      <description>&lt;p&gt;Recently I showed you how to fade in or out any text in your HTML document. Today I will show you how to easily slide text into direction we want.&lt;/p&gt;

&lt;h2&gt;
  
  
  Slide into the right
&lt;/h2&gt;

&lt;p&gt;First let's try to slide it into the right like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F347zmye3l7bu78ep0t7s.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F347zmye3l7bu78ep0t7s.gif" alt="Slide text to the right in CSS"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code is very simple:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;

&lt;span class="nc"&gt;.ct-slide-right&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;relative&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;my_animation&lt;/span&gt; &lt;span class="m"&gt;1s&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;animation-fill-mode&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;both&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;my_animation&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;-300px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Let's stop here for a second and see what we have here. The main elements of this code are:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;animation: my_animation 1s;&lt;/code&gt; - we have here the name of our animation and duration, 1 second in this case&lt;/p&gt;

&lt;p&gt;&lt;code&gt;@keyframes my_animation&lt;/code&gt; - defines our animation. So the start position is -300px from the left side and opacity 0. Then we are going to the &lt;code&gt;to&lt;/code&gt; state. In this case margin left will be 0 and opacity 1. Duration of this takes 1 second. Opacity adds some smooth revealing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Slide into the left
&lt;/h2&gt;

&lt;p&gt;To change direction just change &lt;code&gt;left&lt;/code&gt; into &lt;code&gt;right&lt;/code&gt; in animation parameters:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;

&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;my_animation&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;right&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;-300px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;right&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Slide into the top
&lt;/h2&gt;

&lt;p&gt;If you want to move your text from bottom to top just change the same parameters but this time into &lt;code&gt;bottom&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;

&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;animatetop&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;bottom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;-300px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;bottom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Slide into the bottom
&lt;/h2&gt;

&lt;p&gt;And analogous change the &lt;code&gt;bottom&lt;/code&gt; into &lt;code&gt;top&lt;/code&gt; when you want to move element from top to the bottom:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;

&lt;span class="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;animatebottom&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;-300px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nt"&gt;to&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;p&gt;&lt;em&gt;It would be great if you will comment or follow me on social media&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FTwitterTexeButton.webp" alt="Chris Texe Twitter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/texe/" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FLinkedInTexeButton.webp" alt="Chris Texe LinkedIn"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also you can visit my websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://varlock.net" rel="noopener noreferrer"&gt;Linux blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://madlon.eu" rel="noopener noreferrer"&gt;Web Agency website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>CSS animations - fade in/out text</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Sun, 31 Jul 2022 10:37:00 +0000</pubDate>
      <link>https://forem.com/texe/css-animations-fade-inout-text-19kb</link>
      <guid>https://forem.com/texe/css-animations-fade-inout-text-19kb</guid>
      <description>&lt;p&gt;Have you ever wanted to make a fade in animation of any element in your website? For instance something like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdlhq53y8ijsf7kht2ly.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdlhq53y8ijsf7kht2ly.gif" alt="Fade in animation in CSS"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If yes, you are in the right place. It's very easy and to make this animation on your website put these lines in your style sheet:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

.ct-animate-fadein {
   animation: fadeInAnimation ease 2.5s;
   animation-iteration-count: 1;
   animation-fill-mode: both;
   }

@keyframes fadeInAnimation
{
   0%
   { 
   opacity: 0;
   }

   100% 
   {
   opacity: 1;
   }
}


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Maybe you want to fade out?
&lt;/h2&gt;

&lt;p&gt;The same you can do when you want to make a fade out animation. Just reverse the opacity in keyframes:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

@keyframes fadeOutAnimation
{
   0%
   { 
   opacity: 1;
   }

   100% 
   {
   opacity: 0;
   }
}


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;p&gt;&lt;em&gt;It would be great if you will comment or follow me on social media&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FTwitterTexeButton.webp" alt="Chris Texe Twitter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/texe/" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FLinkedInTexeButton.webp" alt="Chris Texe LinkedIn"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also you can visit my websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://varlock.net" rel="noopener noreferrer"&gt;Linux blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://madlon.eu" rel="noopener noreferrer"&gt;Web Agency website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>html</category>
    </item>
    <item>
      <title>CSS animations - blinking text</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Thu, 28 Jul 2022 08:27:00 +0000</pubDate>
      <link>https://forem.com/texe/css-animation-blinking-text-3a9i</link>
      <guid>https://forem.com/texe/css-animation-blinking-text-3a9i</guid>
      <description>&lt;p&gt;If you want to make some text like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fti6ipd1ecvwlus5hxak1.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fti6ipd1ecvwlus5hxak1.gif" alt="Blinking text in CSS" width="500" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just put this code in your styles:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

.ct-animate-blink {
   animation: blink 1.5s infinite;
   animation-fill-mode: both;
   }

@keyframes blink {
   0% { opacity: 0 }
   50% { opacity: 1 }
   100% { opacity: 0 }
   }


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;What we did? We created animation with &lt;code&gt;blink&lt;/code&gt; name and set duration for 1.5s. The animation will be played infinitely (see the &lt;code&gt;infinite&lt;/code&gt; parameter).&lt;/p&gt;

&lt;p&gt;Next we set the keyframes (from 0% to 100%) and opacity (from 0 to one, and back to 0).&lt;/p&gt;




&lt;p&gt;&lt;em&gt;It would be great if you will comment or follow me on social media&lt;/em&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FTwitterTexeButton.webp" alt="Chris Texe Twitter" width="201" height="49"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/texe/" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmadlon.eu%2Fwp-content%2Fuploads%2Fsites%2F21%2FLinkedInTexeButton.webp" alt="Chris Texe LinkedIn" width="112" height="49"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also you can visit my websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://varlock.net" rel="noopener noreferrer"&gt;Linux blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://madlon.eu" rel="noopener noreferrer"&gt;Web Agency website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to show different menus to logged in users in WordPress</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Wed, 27 Jul 2022 12:17:06 +0000</pubDate>
      <link>https://forem.com/texe/how-to-show-different-menus-to-logged-in-users-in-wordpress-2lak</link>
      <guid>https://forem.com/texe/how-to-show-different-menus-to-logged-in-users-in-wordpress-2lak</guid>
      <description>&lt;p&gt;Sometimes we want to show different menus to logged in users than logged out users. Especially it could be useful when we have for instance a e-commerce shop. So how to do it?&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1 - create menu for logged in users.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vFjVyMOz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/56a6q7bcal0fg0pg7fz6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vFjVyMOz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/56a6q7bcal0fg0pg7fz6.png" alt="Image description" width="880" height="729"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice the menu ID - it will be required later. So menu for logged users should have a "LOGOUT" menu item.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2 - create menu for non-logged in users:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--T3hm4fp6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m0nudhfsbt3kc9zpt76k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--T3hm4fp6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m0nudhfsbt3kc9zpt76k.png" alt="Image description" width="880" height="699"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3
&lt;/h2&gt;

&lt;p&gt;Open &lt;code&gt;functions.php&lt;/code&gt; file which is in your theme directory and paste this code:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;That's all! Now you can see you have two different menus depended on you are logged in or not.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SH9RqXxv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ks9eu1q323rz47z2bbfd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SH9RqXxv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ks9eu1q323rz47z2bbfd.png" alt="Menu for non-logged in users" width="880" height="171"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--84a57WXs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7hkvv79zmru3w29nvpgc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--84a57WXs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7hkvv79zmru3w29nvpgc.png" alt="Menu for logged in users" width="880" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/TexeChris"&gt;Chris Texe&lt;/a&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>php</category>
    </item>
    <item>
      <title>How to draw a radius on Google Maps</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Thu, 21 Jul 2022 08:55:37 +0000</pubDate>
      <link>https://forem.com/texe/radius-on-google-maps-adl</link>
      <guid>https://forem.com/texe/radius-on-google-maps-adl</guid>
      <description>&lt;p&gt;I'm sure you saw many times maps like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyduq2igpl888jzg495wh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyduq2igpl888jzg495wh.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On this map we have a radius (circle) with operating range of some company. We have red line around the circle and also this radius is filled by transparent red. So how to make this?&lt;/p&gt;

&lt;h2&gt;
  
  
  Step one
&lt;/h2&gt;

&lt;p&gt;First we have to open Google Maps, type the city name in search field. Then we should copy GPS coordinates by right click on the city and click on GPS coordinates:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4577n97b7wmjunk1i1ct.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4577n97b7wmjunk1i1ct.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step two
&lt;/h2&gt;

&lt;p&gt;Next open any KML generator, I usually use this &lt;a href="https://www.scottmurray.me/kml/circle/index.php" rel="noopener noreferrer"&gt;KML circle generator&lt;/a&gt; but you can use any. KML means Keyhole Markup Language and it is a file format used to display geographic data in an Earth browser such as Google Earth. Then paste these GPS coordinates into form field and type radius in kilometers, miles etc. You can select color. Finally click &lt;code&gt;Generate&lt;/code&gt; button and download the KML file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwt9x69i21tcuqqt86rk4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwt9x69i21tcuqqt86rk4.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step three
&lt;/h2&gt;

&lt;p&gt;Open &lt;a href="https://mymaps.google.com" rel="noopener noreferrer"&gt;Google My Maps&lt;/a&gt; sign in, and create a new map. In the new window beside Untitled layer click &lt;code&gt;Import&lt;/code&gt; and upload a KML file you've created in step one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnopr04819m1xlhdn7zmw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnopr04819m1xlhdn7zmw.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next select color and line width.  You can name your map if you want.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6pbhs0sajd8w4q18wscf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6pbhs0sajd8w4q18wscf.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step four
&lt;/h2&gt;

&lt;p&gt;Click on &lt;code&gt;Share&lt;/code&gt; and enable &lt;code&gt;Anyone with this link can view&lt;/code&gt;. You can decide if others can see you name and photo on this map. Next click &lt;code&gt;Close&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy4i44hbgja5cgz167rpa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy4i44hbgja5cgz167rpa.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57r795mcpgyoniwbqs89.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57r795mcpgyoniwbqs89.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step five
&lt;/h2&gt;

&lt;p&gt;Click on &lt;code&gt;preview&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fweq13jlums3bewp3o41o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fweq13jlums3bewp3o41o.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The new tab will open with default view of this map. Click  &lt;code&gt;Share&lt;/code&gt;  and choose &lt;code&gt;&amp;lt;&amp;gt; Embed on my site&lt;/code&gt;. Copy the code and paste it in your website code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4s509g8calsoqtj67440.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4s509g8calsoqtj67440.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example of the code looks like this:&lt;br&gt;
&lt;/p&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;iframe&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"https://www.google.com/maps/d/embed?mid=1AJnVYcE_SzVL3kbu-FRkQLFbKOzB1JE&amp;amp;ehbc=2E312F"&lt;/span&gt; &lt;span class="na"&gt;width=&lt;/span&gt;&lt;span class="s"&gt;"640"&lt;/span&gt; &lt;span class="na"&gt;height=&lt;/span&gt;&lt;span class="s"&gt;"480"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And you have a map with operating range on your site! You can adjust width and height.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiehivhygusy6t4184q16.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiehivhygusy6t4184q16.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It would great if you will follow me on Twitter: &lt;a href="https://twitter.com/TexeChris" rel="noopener noreferrer"&gt;Chris Texe&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Remove version strings from CSS and JS link hrefs in WordPress</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Tue, 19 Jul 2022 03:52:29 +0000</pubDate>
      <link>https://forem.com/texe/remove-version-strings-from-css-and-js-link-hrefs-in-wordpress-2on6</link>
      <guid>https://forem.com/texe/remove-version-strings-from-css-and-js-link-hrefs-in-wordpress-2on6</guid>
      <description>&lt;p&gt;Yesterday I gave you a quick tip &lt;a href="https://dev.to/texe/remove-meta-generator-tag-from-wordpress-1dfi"&gt;how to remove meta generator tag&lt;/a&gt; in WordPress. After applying this tip you can still see the WordPress version in the source code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ebIMpa5O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4vtjnzcp6cfdrcz7efp6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ebIMpa5O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4vtjnzcp6cfdrcz7efp6.png" alt="WordPress version in link hrefs" width="375" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What to do if you want to hide it? Just apply below code into &lt;code&gt;functions.php&lt;/code&gt; file of your theme.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;If you want more tips follow me on Twitter: &lt;a href="https://twitter.com/TexeChris"&gt;@TexeChris&lt;/a&gt;:&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>security</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Remove meta generator tag from WordPress</title>
      <dc:creator>Chris Texe</dc:creator>
      <pubDate>Mon, 18 Jul 2022 10:51:01 +0000</pubDate>
      <link>https://forem.com/texe/remove-meta-generator-tag-from-wordpress-1dfi</link>
      <guid>https://forem.com/texe/remove-meta-generator-tag-from-wordpress-1dfi</guid>
      <description>&lt;p&gt;Standard WordPress installation displays version of WordPress in source code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jSY_C04z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fc493tli178ap0y18cgt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jSY_C04z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fc493tli178ap0y18cgt.png" alt="Image description" width="806" height="251"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are some security reasons to hide or remove this information. It's better than bad guys will not see your version of WordPress.&lt;/p&gt;

&lt;p&gt;So, if you want to remove WordPress version from &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;section put this code into &lt;code&gt;functions.php&lt;/code&gt; file:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;After saving the file, the whole tag has gone!&lt;/p&gt;

&lt;p&gt;And maybe better cheat bad guys?&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;After saving the second code in the source code you will see:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;meta name="generator" content="FrontPage 4.0"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you want more tips follow me on Twitter: &lt;a href="https://twitter.com/TexeChris"&gt;@TexeChris&lt;/a&gt;:&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>security</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
