## DEV Community is a community of 848,284 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

jitubhaiya

Posted on • Originally published at pkdeveloper.in

# 1

Here are the features I try to incorporate into the age calculator.what does age calculator ?
Age calculator age calculator

1. You can estimate the age of your child in terms of days
2. age calculator calculates age in seconds.
3. age calculatorhttps://pkdeveloper.in/age-calculator/ calulates age in minutes.
4. The 4 age calculator calculates the age in months.
5. age calculatorcalculates in years, Exact Age Calculator Birth Date*: Calculate your age** Age

* The year here is 365 days and the month here is 30 days, that means your birthday may not mean you will be 0 days old. **Don't worry I will not share your input.

# main_container {

width: 400px;
margin: 20px;
margin-left: auto;
margin-right: auto;
font-family: sans-serif;
border: 3px solid #999;
}

# birth_date_input, #age_container {

text-align: center;
margin: 20px;
margin-left: auto;
margin-right: auto;
}

# age_container {

margin: 40px 5px;
border: 1px solid #000;
font-weight: bolder;
background: #EEE;
font-size: 20px;
line-height: 40px;
}

# calculate {

cursor: pointer;
text-align: center;
width: 200px;
margin: 10px;
margin-left: auto;
margin-right: auto;
border: 1px solid #999;
background: #FFD119;
background: -webkit-gradient(linear, left top, left bottom, from(#FFD119), to(#E6B800));
font-weight: bold;
height: 28px;
}

# calculate:hover {

background: -webkit-gradient(linear, left top, left bottom, from(#E6B800), to(#FFD119));
margin-top: 13px;
height: 25px;
}

# calculate:active {

background: #403300;
height: 20px;
}