Website Start Template Use For Mobile Phone

 

Website Start Template Use For Mobile Phone


Website Start Template Use For Mobile Phone The fantastic collection of simple HTML templates to speed up your web design procedure and ensures excellent results. With a ready-to-use website template, you can have a fully functional static or dynamic website ready quickly.

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <!--==================== Android ====================-->
  <meta name="mobile-web-app-capable" content="yes">
  <!--==================== Ios ====================-->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <!--==================== CSS ====================-->
  <link rel="stylesheet" href="assets/css/styles.css" />
  <title>Dhaval Kurkutiya</title>
</head>
<body>
  <!--==================== HEADER ====================-->
  <header></header>
  <!--==================== MAIN ====================-->
  <main class="main">
    <section>
      <h1 class="title">Dhaval Kurkutiya</h1>
    </section>
  </main>
  <!--==================== FOOTER ====================-->
  <footer></footer>
  <!--==================== ERUDA JS ====================-->
  <script src="eruda-dom/eruda"></script>
  <script src="eruda-dom/eruda-dom.js"></script>
  <!--==================== MAIN JS ====================-->
  <script defer src="assets/js/main.js"></script>
  <!--==================== SET OF ERUDA====================-->
  <script type="text/javascript" charset="utf-8">
    eruda.init();
    eruda.show();
    eruda.add(erudaDom);
  </script>
</body>
</html>
{codeBox}



Css

/*==================== GOOGLE FONTS ====================*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");


/*==================== VARIABLES CSS ====================*/

:root {

  --header-height: 3rem;


  /*========== Colors ==========*/

  /* Change favorite color */

  --hue-color: 230;

  /*Purple 250 - Green 142 - Blue 230 - Pink 340*/


  /* HSL color mode */

  --first-color: hsl(var(--hue-color),69%, 61%);

  --first-color-second: hsl(var(--hue-color),69%, 61%);

  --first-color-alt: hsl(var(--hue-color),57%, 53%);

  --first-color-lighter: hsl(var(--hue-color),92%, 85%);

  --title-color: hsl(var(--hue-color),8%, 15%);

  --text-color: hsl(var(--hue-color),8%, 45%);

  --text-color-light: hsl(var(--hue-color),8%, 65%);

  --input-color: hsl(var(--hue-color),70%, 96%);

  --body-color: hsl(var(--hue-color),60%, 99%);

  --container-color: #fff;

  --scroll-bar-color: hsl(var(--hue-color),12%, 90%);

  --scroll-thumb-color: hsl(var(--hue-color),12%, 80%);


  /*========== Font and typography ==========*/

  --body-font: "Poppins", sans-serif;


  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */

  --big-font-size: 2rem;

  --h1-font-size: 1.5rem;

  --h2-font-size: 1.25rem;

  --h3-font-size: 1.125rem;

  --normal-font-size: 0.938rem;

  --small-font-size: 0.813rem;

  --smaller-font-size: 0.75rem;


  /*========== Font weight ==========*/

  --font-medium: 500;

  --font-semi-bold: 600;


  /*========== Margenes Bottom ==========*/

  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */

  --mb-0-25: 0.25rem;

  --mb-0-5: 0.5rem;

  --mb-0-75: 0.75rem;

  --mb-1: 1rem;

  --mb-1-5: 1.5rem;

  --mb-2: 2rem;

  --mb-2-5: 2.5rem;

  --mb-3: 3rem;


  /*========== z index ==========*/

  --z-tooltip: 10;

  --z-fixed: 100;

  --z-modal: 1000;

}


/* Font size for large devices */

@media screen and (min-width: 968px) {

:root {

  --big-font-size: 3rem;

  --h1-font-size: 2.25rem;

  --h2-font-size: 1.5rem;

  --h3-font-size: 1.25rem;

  --normal-font-size: 1rem;

  --small-font-size: 0.875rem;

  --smaller-font-size: 0.813rem;

}

}


/*==================== BASE ====================*/

* {

  box-sizing: border-box;

  padding: 0;

  margin: 0;

}


html {

  scroll-behavior: smooth;

}

body {

  margin: 0 0 var(--header-height) 0;

  font-family: var(--body-font);

  font-size: var(--normal-font-size);

  background-color: var(--body-color);

  color: var(--text-color);

}


h1,

h2,

h3,

h4 {

  color: var(--title-color);

  font-weight: var(--font-semi-bold);

}


ul {

  list-style: none;

}


a {

  text-decoration: none;

}


img {

  max-width: 100%;

  height: auto;

}



/*==================== NAV ====================*/


/*==================== Main ====================*/

.title{

  background: whitesmoke;

  padding: 1rem;

  text-align: center;

  border-radius: 5px;

}



/*==================== MEDIA QUERIES ====================*/

/* For small devices */

/* For medium devices */

/* For large devices */

{codeBox}


 

1 Comments

  1. hello, do you have a link to a demo site? maybe publish for free at neocities dot org ? and docs/instruction for the javascripts provided?

    ReplyDelete
Previous Post Next Post