How do i position all my input box to take reference from a specific input box in css?

I would like to have all my input boxes positioning to take reference from input class nricFin. How can i amend it in CSS?

I tried indicating doing the following but it doesn’t seem to work out well

input.nricFin{
  position: absolute !important;
  display: inline-block;
}

input {
  position: relative;
  display: inline-block;
  padding: 5px;
  margin-left: 2px;
  height: 7px;
  width: 80px;
 
}

This is the link to the current project that I am working on…

https://codepen.io/hrhquek/pen/mdjEvQO

Try this:

input[class="nricFin"] {
}
1 Like

@hbar1st thanks for the assist!

1 Like