javascript Archives - csshint - A designer hub https://csshint.com/category/javascript/ Sat, 29 Apr 2023 07:41:21 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.4 Menu Button Expand To Navigation Menu On Click https://csshint.com/menu-button-expand-to-navigation-menu-on-click/ Sat, 29 Apr 2023 07:40:08 +0000 https://csshint.com/?p=8353 How to create Menu Button Expand To Navigation Menu On Click using html css and js. Designed by Mathieu Lavoie a codepen user. See the Pen Untitled by Mathieu Lavoie (@theaftermath87) on CodePen. HTML <!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>CodePen - A Pen by Mathieu Lavoie</title> <link rel="stylesheet" href="./style.css"> </head> <body> <!-- […]

The post Menu Button Expand To Navigation Menu On Click appeared first on csshint - A designer hub.

]]>
How to create Menu Button Expand To Navigation Menu On Click using html css and js. Designed by Mathieu Lavoie a codepen user.

Navigation Menu expand On Click


HTML

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <title>CodePen - A Pen by Mathieu Lavoie</title>
  <link rel="stylesheet" href="./style.css">

</head>
<body>
<!-- partial:index.partial.html -->
<div class="menuContainer"> <span class="menuTitle">menu</span>
  <div class="menu">
    <ul>
      <li> <a href="#">shows</a></li>
      <li> <a href="#">media</a></li>
      <li> <a href="#">about</a></li>
      <li> <a href="#">merch</a></li>
    </ul>
  </div>
</div>
<!-- partial -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TweenMax.min.js'></script>
<script  src="./script.js"></script>

</body>
</html>

CSS

@import url(https://fonts.googleapis.com/css?family=Inconsolata:400,700);
body {
  background: #111;
  color: #D8D8D8;
}

* li {
  list-style: none;
}
* a {
  text-decoration: none;
  color: #D8D8D8;
}

.menuContainer {
  display: block;
  position: relative;
  width: 750px;
  margin: 0 auto;
}

.menu {
  width: 150px;
  height: 150px;
  display: block;
  position: relative;
  margin: 0px auto;
  background: #D8D8D8;
  border-radius: 100%;
  border: 1px solid #D8D8D8;
  cursor: pointer;
  z-index: 10;
}
.menu ul {
  padding: 0;
  width: 100%;
  display: none;
  position: relative;
  text-align: center;
  top: 35px;
}
.menu ul li {
  display: inline-block;
  position: relative;
  font-family: Inconsolata;
  font-size: 25px;
  margin-right: 25px;
  box-sizing: border-box;
  width: 125px;
  letter-spacing: 3px;
  text-align: center;
  line-height: 50px;
}
.menu ul li:active {
  text-transform: uppercase;
}
.menu ul li:last-child {
  margin-right: 0;
}
.menu ul li:hover {
  background: #D8D8D8;
}
.menu ul li:hover a {
  color: #000;
}

.menuTitle {
  line-height: 150px;
  width: 150px;
  color: #000;
  text-transform: uppercase;
  font-size: 40px;
  text-align: center;
  letter-spacing: 8px;
  display: block;
  position: relative;
  margin: 0 auto;
  top: 150px;
  z-index: 11;
  padding-left: 10px;
  font-family: Inconsolata;
  cursor: pointer;
  -webkit-user-select: none;
}

JAVASCRIPT

var $menu         = $('.menu');
var $wholeMenu    = $('.menu, .menuTitle');
var $menuUl       = $('.menu ul');
var $menuTitle    = $('.menuTitle');
var $menuContainer= $('.menuContainer');
var count         = 0;
var click         = true;

$wholeMenu.click(function(){

  if (click) {
    click = false;
    $menuTitle.css({'z-index': 9});
    
    var tl = new TimelineLite();
    
    tl.to($menu, 0.4, {css:{
                width: 750,
                background: "#000",
                borderRadius: 0,
                borderTop: "1px solid #D8D8D8"
    }, ease:Expo.easeInOut});
    tl.to($menuTitle, 0.25, {x:0, y:-110, color:"#fff"});
    
    setTimeout(function(){
      $menuUl.fadeIn();
    }, 250);
    
  } else {
    click = true;
    $menuTitle.css({'z-index': 11});
    $(this).css({borderRadius: "100%"})
  
    var tl = new TimelineLite();
    
    tl.to($menu, 0.25, {css:{
                width: 150,
                background: "#FFF",
                borderRadius: "100%",
                borderTop: "1px solid #D8D8D8"
    }, ease:Expo.easeInOut})
    tl.to($menuTitle, 0.25, {x:0, y:0, color:"#000"});
    
    $menuUl.hide();
  };

  
})

 

The post Menu Button Expand To Navigation Menu On Click appeared first on csshint - A designer hub.

]]>
16+ Javascript Arrow Design Code Examples https://csshint.com/javascript-arrow-design/ Thu, 16 Dec 2021 06:47:08 +0000 http://csshint.com/?p=6914 Latest Collection of 100% free Javascript Arrow Design with code examples from Codepen. Spinin’ load arrow Author Yusuf Made with HTML, CSS, JS Demo / Code Get Hosting Double Arrow Button Author Manel Roig Made with HTML, CSS, JS Demo / Code Get Hosting Flexing pagination arrows Author Hakim El Hattab Made with HTML, CSS, […]

The post 16+ Javascript Arrow Design Code Examples appeared first on csshint - A designer hub.

]]>
Latest Collection of 100% free Javascript Arrow Design with code examples from Codepen.

Flexing pagination arrows

Flexing pagination arrows


Flexing pagination arrows

Author

  • Hakim El Hattab

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Scroll Down Page Button

Scroll Down Page Button


Scroll Down Page Button

Author

  • Graham Clark

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Animated Accordion Arrow

Animated Accordion Arrow


Animated Accordion Arrow

Author

  • Tim D

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

SVG Download Dot Bounce

SVG Download Dot Bounce


SVG Download Dot Bounce (success)

Author

  • Chris Gannon

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Animated SVG Download Button

Animated SVG Download Button


Animated SVG Download Button

Author

  • Michael Foley

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Cloud Download Animation

Cloud Download Animation


Cloud Download Animation

Author

  • Jon Kantner

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

ARROW BOX WITH CSS

ARROW BOX WITH CSS


Arrow Box with CSS (12 positions)

Author

  • Yiwei Ma

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

scroll down arrow

Author

  • priyanka

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

nice responsive css arrow

Author

  • thang.nm

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Awesome Arrow icon. ONLY CSS.

Author

  • XzF

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Up Arrow

Author

  • Mark Thomes

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Final Intro Animation

Author

  • Catherine

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

The post 16+ Javascript Arrow Design Code Examples appeared first on csshint - A designer hub.

]]>
18+ JavaScript Loader Design Examples https://csshint.com/javascript-loader/ Mon, 06 Dec 2021 12:08:52 +0000 http://csshint.com/?p=6853 Latest Collection of 100% free JavaScript Loader with code examples from Codepen. Infinity Loader Author Aaron Iker Made with HTML, CSS (SCSS), JS Demo / Code Get Hosting Play Fill Loader Author Chris Gannon Made with HTML, CSS, JS Demo / Code Get Hosting Illuminati-Rainbow Loading Author foleyatwork Made with HTML, CSS (Less), JS (Babel) […]

The post 18+ JavaScript Loader Design Examples appeared first on csshint - A designer hub.

]]>
Latest Collection of 100% free JavaScript Loader with code examples from Codepen.

Illuminati-Rainbow Loading

Illuminati-Rainbow Loading


Illuminati-Rainbow Loading

Author

  • foleyatwork

Made with

  • HTML, CSS (Less), JS (Babel)

Demo / Code Get Hosting

Javascript Loading

Javascript Loading


Javascript Loading

Author

  • Vladislav Trefil

Made with

  • HTML (Pug), CSS (sass), JS

Demo / Code Get Hosting

Preloader with Anime.js

Preloader with Anime.js


Preloader with Anime.js

Author

  • Kevin Konrad Henriquez

Made with

  • HTML (Haml), CSS (SCSS), JS

Demo / Code Get Hosting

Glitchy Loading Indicator

Glitchy Loading Indicator


Glitchy Loading Indicator

Author

  • Jack Rugile

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Javascript Loader with Steps

Author

  • Max

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

JS pure loader

Author

  • Muhammed Saifudeen

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

CSS/JS loader dots

Author

  • Martynas Linkevicius

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Loading Screen

Author

  • Luke Costi

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

Loading ( A progress like :p)

Author

  • Kaushalya R. Mandaliya

Made with

  • HTML, CSS (SCSS), JS

Demo / Code Get Hosting

Mobile GoogleTumblr Style Loader

Mobile GoogleTumblr Style Loader


Mobile Google/Tumblr Style Loader

Author

  • Alex Bergin

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

The Division website loader

The Division website loader


The Division website loader

Author

  • Jeremy Wynn

Made with

  • HTML, CSS, JS

Demo / Code Get Hosting

The post 18+ JavaScript Loader Design Examples appeared first on csshint - A designer hub.

]]>
12 Creative Animation Demos Using CSS and JavaScript https://csshint.com/animation-demos-using-css-and-javascript/ Fri, 03 Sep 2021 05:42:32 +0000 http://csshint.com/?p=6425 Latest Collection of free Creative Animation Demos Using CSS and JavaScript Example and download Zip: See the Pen Animated Tab Bar by abxlfazl khxrshidi (@abxlfazl) on CodePen. Animated Tab Bar Author abxlfazl khxrshidi Made with HTML / CSS / JS Demo / Code Get Hosting See the Pen Space globe – Three.js by isladjan (@isladjan) […]

The post 12 Creative Animation Demos Using CSS and JavaScript appeared first on csshint - A designer hub.

]]>
Latest Collection of free Creative Animation Demos Using CSS and JavaScript Example and download Zip:

Animated Tab Bar

Author

  • abxlfazl khxrshidi

Made with

  • HTML / CSS / JS

Demo / Code Get Hosting

Space globe – Three.js

Author

  • isladjan

Made with

  • HTML / CSS / JS

Demo / Code Get Hosting

NEON LOVE

Author

  • al-ro

Made with

  • HTML / CSS / JS

Demo / Code Get Hosting

Fluid text hover

Author

  • Robin Delaporte

Made with

  • HTML / CSS (SCSS) / JS (Babel)

Demo / Code Get Hosting

Realistic Red Switch (Pure CSS)

Author

  • Yoav Kadosh

Made with

  • HTML(Pug) / CSS (SCSS)

Demo / Code Get Hosting

GSAP ScrollTrigger – Demo

Author

  • Noel Delgado

Made with

  • HTML(Haml) / CSS (POSTCSS) / JS (Babel)

Demo / Code Get Hosting

Parallax scroll animation

Author

  • isladjan

Made with

  • HTML / CSS / JS

Demo / Code Get Hosting

CSS Goey footer

Author

  • Zed Dash

Made with

  • HTML (Pug) / CSS (SCSS)

Demo / Code Get Hosting

Simple CSS Waves | Mobile & Full width

Author

  • Goodkatz

Made with

  • HTML / CSS

Demo / Code Get Hosting

Drip Drop Animation (No JS)

Author

  • Adib Behjat

Made with

  • HTML / CSS

Demo / Code Get Hosting

Creative CSS Animation Effects CSS3 Neumorphism

Author

  • samuel garcia

Made with

  • HTML / CSS (SCSS)

Demo / Code Get Hosting

Variable font animation

Author

  • Michelle Barker

Made with

  • HTML / CSS / JS

Demo / Code Get Hosting

The post 12 Creative Animation Demos Using CSS and JavaScript appeared first on csshint - A designer hub.

]]>
10 JavaScript Keyboards https://csshint.com/javascript-keyboards/ Wed, 23 Jun 2021 04:48:13 +0000 http://csshint.com/?p=6005 Latest Collection of free vanilla JavaScript keyboard code examples and download Zip: 1. Interactive keyboard animation Author Stívali Serna Made with HTML / CSS / JS Demo / Code Get Hosting 2. Neuomorphic Keyboard Author Braydon Coyer Made with HTML / CSS (SCSS) / JS Demo / Code Get Hosting 3. NEU KEYBOARD Author Manan […]

The post 10 JavaScript Keyboards appeared first on csshint - A designer hub.

]]>
Latest Collection of free vanilla JavaScript keyboard code examples and download Zip:

Interactive keyboard animation

Interactive keyboard animation


1. Interactive keyboard animation

Author

  • Stívali Serna

Made with

  • HTML / CSS / JS

Demo / Code Get Hosting

Interactive-keyboard-animation

Interactive-keyboard-animation


2. Neuomorphic Keyboard

Author

  • Braydon Coyer

Made with

  • HTML / CSS (SCSS) / JS

Demo / Code Get Hosting

NEU KEYBOARD

NEU KEYBOARD


3. NEU KEYBOARD

Author

  • Manan Tank

Made with

  • HTML (Pug) / CSS (Stylus) / JS

Demo / Code Get Hosting

Gangnam Style Keyboard

Gangnam Style Keyboard


4. Gangnam Style Keyboard

Author

  • Martín Stanicio

Made with

  • HTML / CSS (SCSS) / JS

Demo / Code Get Hosting

WAAAAPI KEYBOARD

WAAAAPI KEYBOARD


6. WAAAAPI Keyboard

Author

  • Dan Wilson

Made with

  • HTML / CSS (SCSS) / JS

Demo / Code Get Hosting

SCSS Interactive Keyboard

SCSS Interactive Keyboard


7. JavaScript/Flexbox/SCSS Interactive Keyboard

Author

  • Josh Collinsworth

Made with

  • HTML / CSS (SCSS) / JS

Demo / Code Get Hosting

Keyboard Type something

Keyboard Type something


9. Keyboard – Type something

Author

  • Ricardo Oliva Alonso

Made with

  • HTML (Pug) / CSS (SCSS) / JS

Demo / Code Get Hosting

Web audio keyboard

Web audio keyboard


10. Web audio keyboard

Author

  • Dave DeSandro

Made with

  • HTML / CSS / JS

Demo / Code Get Hosting

The post 10 JavaScript Keyboards appeared first on csshint - A designer hub.

]]>
Next and previous buttons https://csshint.com/next-and-previous-buttons/ Thu, 04 Mar 2021 13:33:59 +0000 http://csshint.com/?p=5729 check out this Next & Prev CSS buttons. CSS buttons for next and previous button for sliders, or whatever. snippet by Keny Zachelin a codepen user. next and previous buttons in javascript See the Pen Next & Previous button by Keny Zachelin (@kazed972) on CodePen.

The post Next and previous buttons appeared first on csshint - A designer hub.

]]>
check out this Next & Prev CSS buttons. CSS buttons for next and previous button for sliders, or whatever. snippet by Keny Zachelin a codepen user.

next and previous buttons

next and previous buttons


next and previous buttons in javascript

The post Next and previous buttons appeared first on csshint - A designer hub.

]]>
Drag Drop Text Tag Widgets https://csshint.com/drag-drop-text-tag-widgets/ Sun, 17 Jan 2021 06:48:47 +0000 http://csshint.com/?p=5581 Check Out this Drag Drop Text Tag Widgets using css and javascript designed by Skye. See the Pen Card wall by Skye (@fraddski) on CodePen.

The post Drag Drop Text Tag Widgets appeared first on csshint - A designer hub.

]]>
Check Out this Drag Drop Text Tag Widgets using css and javascript designed by Skye.

Drag And Drop text

Drag And Drop text


The post Drag Drop Text Tag Widgets appeared first on csshint - A designer hub.

]]>
12+ JavaScript Tooltip Design Examples https://csshint.com/javascript-tooltip-design-examples/ Sun, 13 Dec 2020 03:14:52 +0000 http://csshint.com/?p=4965 Latest Collection of hand-picked free JavaScript Tooltip Code Examples. 1. Tippy.js AJAX animation Author atomiks Made with HTML / CSS / JS demo and code Get Hosting 2. SVG Pie chart with tooltip and hover effects Author Hiro Made with HTML / CSS / JS demo and code Get Hosting 3. Colortip Author Yasin Aydın […]

The post 12+ JavaScript Tooltip Design Examples appeared first on csshint - A designer hub.

]]>
Latest Collection of hand-picked free JavaScript Tooltip Code Examples.

1. Tippy.js AJAX animation

Tippy.js

Tippy.js


Author

  • atomiks

Made with

  • HTML / CSS / JS

demo and code Get Hosting


2. SVG Pie chart with tooltip and hover effects

SVG Pie chart with tooltip

SVG Pie chart with tooltip


Author

  • Hiro

Made with

  • HTML / CSS / JS

demo and code Get Hosting


3. Colortip

Colortip

Colortip


Author

  • Yasin Aydın

Made with

  • HTML / CSS / JS

demo and code Get Hosting


4. Easy all-purpose tooltips

Easy all-purpose tooltips

Easy all-purpose tooltips


Author

  • Karim Cossutti

Made with

  • HTML / CSS / JS

demo and code Get Hosting


5. Steps Flow

Steps Flow tooltips

Steps Flow tooltips


Author

  • CJies Tan

Made with

  • HTML (Pug) / CSS (SCSS) / JS

demo and code Get Hosting


6. Chart.JS Doughnut Custom Tooltip

Chart.JS Doughnut Custom Tooltip

Chart.JS Doughnut Custom Tooltip


Author

  • Mark Brinton

Made with

  • HTML / CSS / JS

demo and code Get Hosting


7. Tooltiper

Author

  • Thomas Podgrodzki

Made with

  • HTML / CSS / JS

demo and code Get Hosting


8. Tooltip [js]

Tooltip js

Tooltip js


Author

  • James Mejia

Made with

  • HTML / CSS / JS

demo and code Get Hosting


9. Tooltipster is nice

Author

  • Ms Moneypenny

Made with

  • HTML / CSS / JS

demo and code Get Hosting


10. awTooltip

Author

  • adobewordpress

Made with

  • HTML / CSS / JS

demo and code Get Hosting


11. Guided tour tooltip

Author

  • Yoann

Made with

  • HTML / CSS (LESS) / JS

demo and code Get Hosting


12. Custom Tooltip

Author

  • Gabriele Corti

Made with

  • HTML / CSS / JS

demo and code Get Hosting


The post 12+ JavaScript Tooltip Design Examples appeared first on csshint - A designer hub.

]]>
10+ React Calculator Examples https://csshint.com/react-calculator/ Sat, 05 Dec 2020 03:29:28 +0000 http://csshint.com/?p=5009 Latest Collection of hand-picked free React Calculator Code Examples for your pproject. 1. React Calculator Google Android Author Cody Pearce Made with HTML (Pug) / CSS (Stylus) / JS (Babel) demo and code Get Hosting 2. Simple React Calculator Author Arik Sasmita Made with HTML / CSS (SCSS) / JS (Babel) demo and code Get […]

The post 10+ React Calculator Examples appeared first on csshint - A designer hub.

]]>
Latest Collection of hand-picked free React Calculator Code Examples for your pproject.

1. React Calculator Google Android

React Calculator Google Android

React Calculator Google Android


Author

  • Cody Pearce

Made with

  • HTML (Pug) / CSS (Stylus) / JS (Babel)

demo and code Get Hosting


2. Simple React Calculator

Simple React Calculator

Simple React Calculator


Author

  • Arik Sasmita

Made with

  • HTML / CSS (SCSS) / JS (Babel)

demo and code Get Hosting


3. React Calculator

React Calculator

React Calculator


Author

  • Michael Jackson

Made with

  • HTML / CSS / JS (Babel)

demo and code Get Hosting


4. Calculator

Calculator

Calculator


Author

  • Andrew Farmer

Made with

  • HTML / CSS / JS

demo and code Get Hosting


5. Calculator

A basic Calculator with five functions for addition, subtraction, division, modulo and multiplication.

basic Calculator with five functions

basic Calculator with five functions


Author

  • Lam Pham

Made with

  • HTML / CSS / JS

demo and code Get Hosting


6. react-calculator

This project is part of the Free Code Camp’s front-end track. I’ll build a calculator using React.

 react-calculator

react-calculator


Author

  • Blanca Mendizabal Perello

Made with

  • HTML / CSS / JS

demo and code Get Hosting


7. Simple React Calculator

Author

  • Jose Luis Mortola

Made with

  • HTML / CSS / JS (Babel)

demo and code Get Hosting


8. Simple React Calculator

Author

  • Ibby

Made with

  • HTML / CSS / JS (Babel)

demo and code Get Hosting


9. react native nw-react calculator

react native nw-react calculator

react native nw-react calculator


Author

  • Benoit VALLON

Made with

  • HTML / CSS / JS

demo and code Get Hosting


10. Calculator built with React.js

Calculator built with React.js

Calculator built with React.js


Author

  • Tatiana

Made with

  • HTML / CSS / JS

demo and code Get Hosting


The post 10+ React Calculator Examples appeared first on csshint - A designer hub.

]]>
Javascript stopwatch https://csshint.com/javascript-stopwatch/ Thu, 03 Dec 2020 03:37:47 +0000 http://csshint.com/?p=4974 Check Out this javascript stopwatch. snippets by Daniel Hug.

The post Javascript stopwatch appeared first on csshint - A designer hub.

]]>
Check Out this javascript stopwatch. snippets by Daniel Hug.

javascript stopwatch

javascript stopwatch


The post Javascript stopwatch appeared first on csshint - A designer hub.

]]>