React Wod Counter Application | Source Code | Free Download

 


Here we will write the css for the overall look and fields . 

index.css

This is the css where you will get the expected output by putting the below css in your index file.
 
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900');
  
  *
  {
    margin: 0;
  }
  
  html,
  body {
    width: 100%;
    height: 100%;
    background-color: #F3F3F3;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  body {
    min-height: 100vh;
    background: url('data:image/svg+xml;utf8,'),
      hsl(210, 90%, 45%);
    background-size: 50px;
    font-family: "Mukta", sans-serif;
  }
  .css-p6nd68
  {
    height: 25px;
  }
  .text-input
  {
    width: 100%;
    height: 350px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 16px;
    outline: none;
    resize: none;
  }
  .text-input:focus {
    border-color: #00a2f9; /* Green border on focus */
    box-shadow: 0 0 5px #00a2f9; /* Optional shadow effect */
  }
   
  .age_heading{
    color: #5E5AF9;
    font-family: Inter;
    font-size: 5rem;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    display: flex;
    justify-content: center;
   
  }
   
  h2{
    color: #000;
  font-family: Inter;
  font-size: 35px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  }
  h3{
    color: #000;
  font-family: Inter;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 5rem;
  }
   
  h4{
    color: #000;
  font-family: Inter;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  }
  .right
  {
    width: 500px;
  }
  .para
  {
    color: #505050;
  font-family: Inter;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  }
   
  .button_div
  {
    margin-top: 2rem;
  }
   
  .container_title
    {  
      display: flex;
      align-items: center;
      justify-content: center;
    }
   
    input[type="date"]{
      background: #F4F9FF;
      border: 2px solid #DEDEDE;
      padding: 20px;
      font-family: "Roboto Mono",monospace;
      color: #000000;
      font-size: 18px;
      width: 230px;
      /* border: none; */
      outline: none;
      border-radius: 5px;
  }
  ::-webkit-calendar-picker-indicator{
      /* background-color: #ffffff; */
      padding: 5px;
      cursor: pointer;
      border-radius: 3px;
  }
   
   
   
  /* CSS */
  .button-65 {
    appearance: none;
    backface-visibility: hidden;
    background-color: #ed2f2f;
    border-radius: 10px;
    border-style: none;
    box-shadow: none;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-weight: 500;
    height: 50px;
    letter-spacing: normal;
    line-height: 1.5;
    outline: none;
    overflow: hidden;
    padding: 14px 30px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
  }
   
  .button-65:hover {
    background-color: #ff3e3e;
    box-shadow: rgba(0, 0, 0, .05) 0 5px 30px, rgba(0, 0, 0, .05) 0 1px 4px;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
  }
   
  .button-65:hover:after {
    opacity: .5;
  }
   
  .button-65:active {
    box-shadow: rgba(0, 0, 0, .1) 0 3px 6px 0, rgba(0, 0, 0, .1) 0 0 10px 0, rgba(0, 0, 0, .1) 0 1px 4px -1px;
    transform: translateY(2px);
    transition-duration: .35s;
  }
   
  .button-65:active:after {
    opacity: 1;
  }
   
  @media (min-width: 768px) {
    .button-65 {
      padding: 14px 22px;
      width: 176px;
    }
  }
  

WordCounter.css

Now here you are creating this css file to complete the other file to get the expected result .


.Container_middle
{
    display: flex;
    justify-content: space-between;
}
 
.left
{
    width: 500px;
    background-color:#EEF1F6; 
    height: 350px;
     
}
.Container_middle_para
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-container {
    display: flex;
    justify-content: center;
        /* flex-wrap: nowrap; */
  }
  
  .flex-container > div {
    background-color: #f1f1f1;
    width: 100px;
    margin: 10px;
    text-align: center;
    line-height: 25px;
    font-size: 18px;
  }


  

Conclusion

I hope this tutorial was helpful. Please leave a comment with any recommendations for other applications. I’m hoping you’ll create this application effectively and get a lot of knowledge from it. We designed this project as a beginner project, but in the future days, we will cover more advanced projects as well.

visit this website for more projects: https://ziontutorial.com/

Post a Comment

Previous Post Next Post