<?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: Mahdi</title>
    <description>The latest articles on DEV Community by Mahdi (@mhadi2003).</description>
    <link>https://dev.to/mhadi2003</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%2F648075%2F05b87dd2-d262-4ebb-99b9-ca29a7b3e2f5.png</url>
      <title>DEV Community: Mahdi</title>
      <link>https://dev.to/mhadi2003</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mhadi2003"/>
    <language>en</language>
    <item>
      <title>spinnercss - 32 different types of spinners</title>
      <dc:creator>Mahdi</dc:creator>
      <pubDate>Tue, 06 Feb 2024 13:16:17 +0000</pubDate>
      <link>https://dev.to/mhadi2003/spinnercss-32-different-types-of-spinners-1gcf</link>
      <guid>https://dev.to/mhadi2003/spinnercss-32-different-types-of-spinners-1gcf</guid>
      <description>&lt;p&gt;&lt;strong&gt;Improve your website with ready-made spinnercss. Give your website more personality with ready-to-use spinners featuring stunning designs and layouts.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mhadi-1382.github.io/spinnercss/"&gt;View Website&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Mhadi-1382/spinnercss"&gt;View On GitHub&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Documents
&lt;/h2&gt;

&lt;p&gt;Spinners are available in three different styles; &lt;code&gt;circle&lt;/code&gt; , &lt;code&gt;dots&lt;/code&gt;, &lt;code&gt;line&lt;/code&gt; . You can choose each with your interest. And we will describe and use it.&lt;/p&gt;

&lt;p&gt;First, add the &lt;a href="https://raw.githubusercontent.com/Mhadi-1382/spinnercss/master/css/spinnercss.css"&gt;spinnercss.css&lt;/a&gt; file to your project so you can access the classes, there is also a compressed version of this file.&lt;/p&gt;

&lt;p&gt;How to use or library syntax is as follows:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First Sample Code&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="circle-2 spinner-background-full"&amp;gt;
    &amp;lt;div class="circle-2"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Second Sample Code&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="dots-9"&amp;gt;
    &amp;lt;div class="dots-9"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class="dots-9"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class="dots-9"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class="dots-9"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Classes
&lt;/h3&gt;

&lt;p&gt;For comfortable work with Spinners, we have embedded several classes so that you can maneuver more on the details of the size of the work, these classes include:&lt;/p&gt;

&lt;p&gt;resizing the width and height, the size of the border and the assignment of the background, as well as several effects to move the icons and... Of course you can easily customize this class and even Spinners. (Of course, some classes do not function for spinners, Do not worry that this partial problem will be solved in the future.)&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.w-h-30&lt;/code&gt; &lt;code&gt;.w-h-40&lt;/code&gt; ... &lt;code&gt;.w-h-100&lt;/code&gt;&lt;br&gt;
&lt;code&gt;.border-width-1&lt;/code&gt; &lt;code&gt;.border-width-2&lt;/code&gt; ... &lt;code&gt;.border-width-10&lt;/code&gt;&lt;br&gt;
&lt;code&gt;.spinner-background&lt;/code&gt; &lt;code&gt;.spinner-background-full&lt;/code&gt; &lt;code&gt;.spinner-background-rounded&lt;/code&gt;&lt;br&gt;
&lt;code&gt;.rotate&lt;/code&gt; &lt;code&gt;.rotateY-360&lt;/code&gt; &lt;code&gt;.rotateY-180&lt;/code&gt; &lt;code&gt;.rotateY-90&lt;/code&gt; &lt;code&gt;.rotateX-360&lt;/code&gt; &lt;code&gt;.rotateX-180&lt;/code&gt;&lt;br&gt;
&lt;code&gt;.rotateX-90&lt;/code&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;spinnercss Website Project:&lt;/strong&gt; &lt;a href="https://dribbble.com/shots/23584966-spinnercss-Website-Project"&gt;https://dribbble.com/shots/23584966-spinnercss-Website-Project&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;spinnercss Logo Project:&lt;/strong&gt; &lt;a href="https://dribbble.com/shots/23584953-spinnercss-Logo-Project"&gt;https://dribbble.com/shots/23584953-spinnercss-Logo-Project&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>programming</category>
      <category>spinnercss</category>
    </item>
    <item>
      <title>CSS Assistant</title>
      <dc:creator>Mahdi</dc:creator>
      <pubDate>Fri, 08 Jul 2022 06:41:41 +0000</pubDate>
      <link>https://dev.to/mhadi2003/css-assistant-8ha</link>
      <guid>https://dev.to/mhadi2003/css-assistant-8ha</guid>
      <description>&lt;p&gt;Hello friends,&lt;/p&gt;

&lt;p&gt;CSS Assistant is a CSS kernel utility that can help you with user-side coding. This assistant receives commands by voice from the user and after the necessary processing, adds the command or attribute to the file and the changes in the file will be applied immediately.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;v1.0 (Sunday, June 6, 2022)&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;35 Command CSS and 6 Command System = &lt;a href="https://github.com/Mhadi-1382/CSS-Assistant/blob/main/ListCSSAssistant.txt"&gt;ListCSSAssistant&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Installation:
&lt;/h2&gt;

&lt;p&gt;To launch the program, first install the required packages and then use the program safely. You can also install the required packages by running the setup.bat file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Dependencies:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;SpeechRecognition&lt;/li&gt;
&lt;li&gt;colorama&lt;/li&gt;
&lt;li&gt;platform&lt;/li&gt;
&lt;li&gt;pyttsx3&lt;/li&gt;
&lt;li&gt;random&lt;/li&gt;
&lt;li&gt;os&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Project at GitHub: &lt;a href="https://github.com/Mhadi-1382/CSS-Assistant"&gt;https://github.com/Mhadi-1382/CSS-Assistant&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>cssassistant</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>M-One Personal Assistant v2.4 - Update: Friday, June 24, 2022 + GUI v1.0</title>
      <dc:creator>Mahdi</dc:creator>
      <pubDate>Thu, 07 Jul 2022 07:20:47 +0000</pubDate>
      <link>https://dev.to/mhadi2003/m-one-personal-assistant-v24-update-friday-june-24-2022-gui-v10-l4e</link>
      <guid>https://dev.to/mhadi2003/m-one-personal-assistant-v24-update-friday-june-24-2022-gui-v10-l4e</guid>
      <description>&lt;p&gt;Hello friends,&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update 2.4 of M-One Assistant has been released.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Version 2.4 (Update: Friday, June 24, 2022):&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;M-One in version 2.4 can do 81 things.&lt;/p&gt;

&lt;p&gt;Important changes in version 2.4:&lt;/p&gt;

&lt;p&gt;change voice, in what language are you written, do you know me, set alarm (&lt;a href="https://github.com/Mhadi-1382/M-One-personal-assistant/blob/main/alarm.rar" rel="noopener noreferrer"&gt;Download Music for Alarm&lt;/a&gt;), edit note, open calculator, open disk c &amp;amp; d &amp;amp; e, open task manager, toggle capslock, toggle numlock, start menu, and fix program bugs...&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;And a graphic version of M-One has been released.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;M-One (v2.0) GUI v1.0:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Includes interface Typing and Listening - &lt;a href="https://github.com/Mhadi-1382/M-One-personal-assistant/blob/main/GUI_v1.0.rar" rel="noopener noreferrer"&gt;GUI_v1.0&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&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%2Fzhz119faapolyrtwkke2.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%2Fzhz119faapolyrtwkke2.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%2F1srgox2q5rpco1cr1y2a.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%2F1srgox2q5rpco1cr1y2a.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%2Fsh6fkcm4k3xpff2ah280.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%2Fsh6fkcm4k3xpff2ah280.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Dependencies
&lt;/h2&gt;

&lt;p&gt;Python 3 (3.9.7)&lt;br&gt;
SpeechRecognition&lt;br&gt;
subprocess (version 2.0)&lt;br&gt;
webbrowser&lt;br&gt;
threading (version 2.4)&lt;br&gt;
winsound (version 2.4)&lt;br&gt;
tkinter (version 2.0 - GUI v1.0)&lt;br&gt;
wikipedia&lt;br&gt;
pyautogui (version 2.0)&lt;br&gt;
translate&lt;br&gt;
requests&lt;br&gt;
pyqrcode&lt;br&gt;
platform (version 2.0)&lt;br&gt;
winshell (version 2.0)&lt;br&gt;
datetime&lt;br&gt;
PyAudio&lt;br&gt;
pyttsx3&lt;br&gt;
random (version 2.0)&lt;br&gt;
urllib&lt;br&gt;
whois (version 2.0)&lt;br&gt;
time&lt;br&gt;
os&lt;/p&gt;

&lt;p&gt;Project at GitHub: &lt;a href="https://github.com/Mhadi-1382/M-One-personal-assistant" rel="noopener noreferrer"&gt;https://github.com/Mhadi-1382/M-One-personal-assistant&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Learn more about M-One: &lt;a href="https://dev.to/mhadi2003/m-one-personal-assistant-v10-l0h"&gt;https://dev.to/mhadi2003/m-one-personal-assistant-v10-l0h&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In the future, some features of this program will be added and some of its shortcomings will be eliminated.&lt;br&gt;
You dear ones can also express your opinions and suggestions.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>python</category>
      <category>mone</category>
      <category>programming</category>
      <category>monepersonalassistant</category>
    </item>
    <item>
      <title>M-One Personal Assistant v2.0 - Update: Saturday, June 11, 2022</title>
      <dc:creator>Mahdi</dc:creator>
      <pubDate>Sat, 11 Jun 2022 16:00:26 +0000</pubDate>
      <link>https://dev.to/mhadi2003/m-one-personal-assistant-v20-3c6f</link>
      <guid>https://dev.to/mhadi2003/m-one-personal-assistant-v20-3c6f</guid>
      <description>&lt;p&gt;Hello guys,&lt;/p&gt;

&lt;p&gt;The M-One was built on Sunday, May 8, 2022, and now has its first update on Saturday, June 11, 2022.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Version 2.0 (Update: Saturday, June 11, 2022):&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;M-One in version 2.0 can do 68 things.&lt;/p&gt;

&lt;p&gt;Important changes in version 2.0:&lt;/p&gt;

&lt;p&gt;Play music, play videos, open photos, take notes and read them, find locations on the map, whois site, weather, check if you are connected to the Internet, open the source code of the application in GitHub and ... More Features -Improved user interface, bug fixes and lots of other problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Dependencies
&lt;/h2&gt;

&lt;p&gt;Python 3 (3.9.7)&lt;br&gt;
SpeechRecognition&lt;br&gt;
subprocess (version 2.0)&lt;br&gt;
webbrowser&lt;br&gt;
wikipedia&lt;br&gt;
pyautogui (version 2.0)&lt;br&gt;
translate&lt;br&gt;
requests&lt;br&gt;
pyqrcode&lt;br&gt;
platform (version 2.0)&lt;br&gt;
winshell (version 2.0)&lt;br&gt;
datetime&lt;br&gt;
PyAudio&lt;br&gt;
pyttsx3&lt;br&gt;
random (version 2.0)&lt;br&gt;
urllib&lt;br&gt;
whois (version 2.0)&lt;br&gt;
time&lt;br&gt;
os&lt;/p&gt;

&lt;p&gt;Project at GitHub: &lt;a href="https://github.com/Mhadi-1382/M-One-personal-assistant"&gt;https://github.com/Mhadi-1382/M-One-personal-assistant&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Learn more about M-One: &lt;a href="https://dev.to/mhadi2003/m-one-personal-assistant-v10-l0h"&gt;https://dev.to/mhadi2003/m-one-personal-assistant-v10-l0h&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In the future, some features of this program will be added and some of its shortcomings will be eliminated.&lt;br&gt;
You dear ones can also express your opinions and suggestions.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>python</category>
      <category>mone</category>
      <category>programming</category>
      <category>monepersonalassistant</category>
    </item>
    <item>
      <title>M-One Personal Assistant v1.0</title>
      <dc:creator>Mahdi</dc:creator>
      <pubDate>Fri, 03 Jun 2022 14:10:09 +0000</pubDate>
      <link>https://dev.to/mhadi2003/m-one-personal-assistant-v10-l0h</link>
      <guid>https://dev.to/mhadi2003/m-one-personal-assistant-v10-l0h</guid>
      <description>&lt;p&gt;Hello guys, &lt;br&gt;
M-One is a personal assistant who can help you with some simple tasks.&lt;br&gt;
I wrote this program in Python language and I hope it is interesting and useful for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  About
&lt;/h2&gt;

&lt;p&gt;I work for minor tasks such as opening websites such as Google, announcing time and date, converting text to audio, creating qrcode, extracting information from wikipedia, downloading photos, etc., translating texts, displaying stored WiFi passwords, displaying public IP You, shut down the computer, create a folder and delete it, the ability to delete files on the computer, and all other features.&lt;/p&gt;

&lt;p&gt;This program has two user interfaces: Typing and Listening.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;To launch the program, first install the required packages and then use the program safely.&lt;/p&gt;

&lt;p&gt;Use the &lt;code&gt;help&lt;/code&gt; command to display the program commands.&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Dependencies
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python 3 (3.9.7)&lt;/li&gt;
&lt;li&gt;translate&lt;/li&gt;
&lt;li&gt;speech_recognition&lt;/li&gt;
&lt;li&gt;webbrowser&lt;/li&gt;
&lt;li&gt;wikipedia&lt;/li&gt;
&lt;li&gt;requests&lt;/li&gt;
&lt;li&gt;pyqrcode&lt;/li&gt;
&lt;li&gt;datetime&lt;/li&gt;
&lt;li&gt;pyttsx3&lt;/li&gt;
&lt;li&gt;urllib&lt;/li&gt;
&lt;li&gt;time&lt;/li&gt;
&lt;li&gt;os&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Project at GitHub: &lt;a href="https://github.com/Mhadi-1382/M-One-personal-assistant"&gt;https://github.com/Mhadi-1382/M-One-personal-assistant&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Information v2.0: &lt;a href="https://dev.to/mhadi2003/m-one-personal-assistant-v20-3c6f"&gt;https://dev.to/mhadi2003/m-one-personal-assistant-v20-3c6f&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Information v2.4 + GUI v1.0: &lt;a href="https://dev.to/mhadi2003/m-one-personal-assistant-v24-update-friday-june-24-2022-gui-v10-l4e"&gt;https://dev.to/mhadi2003/m-one-personal-assistant-v24-update-friday-june-24-2022-gui-v10-l4e&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In the future, some features of this program will be added and some of its shortcomings will be eliminated.&lt;br&gt;
You dear ones can also express your opinions and suggestions.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>python</category>
      <category>assistant</category>
      <category>personal</category>
      <category>mone</category>
    </item>
    <item>
      <title>Build Spinner With HTML, CSS, SVG</title>
      <dc:creator>Mahdi</dc:creator>
      <pubDate>Sun, 20 Mar 2022 14:45:53 +0000</pubDate>
      <link>https://dev.to/mhadi2003/build-spinner-with-html-css-svg-1n8a</link>
      <guid>https://dev.to/mhadi2003/build-spinner-with-html-css-svg-1n8a</guid>
      <description>&lt;p&gt;Hello friends,&lt;br&gt;
In this article, I will teach you how to create a Spinner with HTML, CSS, SVG.&lt;/p&gt;

&lt;p&gt;View live Codepen: &lt;a href="https://codepen.io/mhadi-2003/pen/abEZdjX"&gt;https://codepen.io/mhadi-2003/pen/abEZdjX&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  HTML
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="container"&amp;gt;
    &amp;lt;svg role="status" class="spinner animation-spin" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"&amp;gt;
        &amp;lt;path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"&amp;gt;&amp;lt;/path&amp;gt;
        &amp;lt;path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"&amp;gt;&amp;lt;/path&amp;gt;
    &amp;lt;/svg&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  CSS
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container {
    padding: 10rem 1rem 1rem 1rem;
    text-align: center;
}

// Spinner
.spinner {
    color: rgb(229, 231, 235);
    height: 50px;
    width: 50px;
    fill: #1c64f2;
}

// Animation Spin
.animation-spin {
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You can change the color inside the spinner with the &lt;code&gt;Fill&lt;/code&gt; property and the border color with the &lt;code&gt;Color&lt;/code&gt; property:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fill: red;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;color: #fff;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Or you can use the &lt;code&gt;Width&lt;/code&gt; and &lt;code&gt;Height&lt;/code&gt; attributes to resize the spinner:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;height: 60px;
width: 60px;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You can also increase or decrease the speed of the spinner with the &lt;code&gt;animation&lt;/code&gt; attribute:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;animation: spin 1s;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I hope you enjoyed this article.&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>svg</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Build a loading with HTML, CSS, Javascript</title>
      <dc:creator>Mahdi</dc:creator>
      <pubDate>Wed, 02 Feb 2022 08:24:28 +0000</pubDate>
      <link>https://dev.to/mhadi2003/build-a-loading-with-html-css-javascript-1ohc</link>
      <guid>https://dev.to/mhadi2003/build-a-loading-with-html-css-javascript-1ohc</guid>
      <description>&lt;p&gt;Hello friends,&lt;br&gt;
In this article, I will teach you how to create a loading with HTML, CSS, JavaScript. And I hope you like this article.&lt;/p&gt;

&lt;p&gt;View live Codepen: &lt;a href="https://codepen.io/mhadi-2003/pen/jOaqKjz"&gt;https://codepen.io/mhadi-2003/pen/jOaqKjz&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  HTML
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="container"&amp;gt;
    &amp;lt;div class="loading-container"&amp;gt;
        &amp;lt;div class="loading"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;

    &amp;lt;p&amp;gt;Lorem ipsum dolor, sit amet consectetur adipisicing elit. 
    Quibusdam nostrum, repellendus enim eveniet deleniti eaque 
    animi suscipit, nihil, fugiat ducimus tenetur quas quam. 
    Tempore magnam corrupti earum consequatur, modi unde?&amp;lt;/p&amp;gt; 
&amp;lt;/div&amp;gt;

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  CSS
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    * {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    body {
        font-family: "Segoe UI", sans-serif;
        line-height: 1.5;
    }

    /* Container */
    .container {
        margin: 50px auto;
        width: 95%;
    }
    @media (min-width: 700px) {
        .container {
            width: 60%;
        }
    }

    /* Loading */
    .loading-container {
        background-color: #ffffff;
        position: fixed;
        z-index: 1000;
        height: 100%;
        width: 100%;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: ease all 4s;
    }
    .loaded {
        visibility: hidden;
        opacity: 0;
    }
    .loading {
        border: 2px solid blue;
        border-radius: 50%;
        border-bottom: none;
        border-left: none;
        height: 50px;
        width: 50px;
        animation-name: loader;
        animation-duration: .5s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
    }
    @keyframes loader {
        0% {
            transform: rotate(0);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    /* P */
    p {
        margin-bottom: 12px;
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  JavaScript
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;window.addEventListener("load" , function(){
    document.querySelector(".loading-container").classList.add("loaded");
})

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

&lt;/div&gt;



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