Coder Social home page Coder Social logo

withaarzoo / animated-pencil-loader Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 14 KB

This repository contains HTML and CSS code for an animated pencil loader, designed to be used as a loading animation for web pages. The loader consists of a pencil icon that animates in a loop, giving users a visual cue that the page is still loading.

HTML 19.45% CSS 80.55%
codewithaarzoo css cssanimation html

animated-pencil-loader's Introduction

Animated Pencil Loader

This repository contains HTML and CSS code for an animated pencil loader, designed to be used as a loading animation for web pages. The loader consists of a pencil icon that animates in a loop, giving users a visual cue that the page is still loading.

Preview

preview

HTML Structure

The HTML file defines the structure of the loader. It includes a <!DOCTYPE> declaration and sets the document type as HTML. The content is enclosed within <html>, <head>, and <body> tags. Key elements include:

  • Character Encoding: The document specifies UTF-8 character encoding for proper text rendering.
  • Viewport Configuration: Meta tags are used to configure the viewport for responsive design.
  • External Stylesheet: The HTML file links to an external CSS stylesheet named style.css.
  • Page Title: The title of the webpage is set to "Animated Pencil Loader".
  • Loader Elements: Various <div> elements are used to create the pencil loader, including subdivisions for the pencil's components and a horizontal line.

CSS Styling

The CSS file (style.css) contains styling rules to customize the appearance and animation of the loader. Key styling features include:

  • Font: The Google Fonts library is imported to use the "Poppins" font family.
  • Layout: Flexbox layout is utilized to center the content both horizontally and vertically within the viewport.
  • Background: Gradient background colors are applied to the body element.
  • Pencil Animation: Keyframes are defined to animate the rotation and movement of the pencil icon.
  • Pencil Components: Styling rules are provided for each component of the pencil, including the ball point, cap, middle section, and eraser.
  • Line Animation: Another set of keyframes is defined to animate the horizontal line below the pencil.
  • Typography: Font size and positioning are adjusted for the loading message.

Usage

To use this animated pencil loader on your webpage, simply include the HTML and CSS code provided in this repository. You can customize the loader's appearance and animation by modifying the CSS styles according to your preferences.

License

This code is provided under the MIT License. Feel free to use and modify it for your own projects. See the LICENSE file for more details.

animated-pencil-loader's People

Contributors

withaarzoo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.