Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Numpad on mobile #12

Open
mildronize opened this issue Apr 29, 2024 · 0 comments
Open

Virtual Numpad on mobile #12

mildronize opened this issue Apr 29, 2024 · 0 comments

Comments

@mildronize
Copy link
Owner

mildronize commented Apr 29, 2024

Blink Cursor

html

<span
  autoFocus
  className="flex-item input-cursor blink"
  style={{
    display: 'flex',
    width: "50px",
    justifyContent: "end",
    alignItems: "center",
    fontSize: "16px", // Use font 16px prevent zooming on mobile
    backgroundColor: alpha("#ffffff", 0.0),
  }}
>{props.assigned} </span>

css

.input-cursor {
  position: relative;
  /* height: 20px; */
  border-right: 2px solid transparent;
}

.input-cursor.blink {
  animation: blinkCursor 1s steps(1, start) infinite;
}

@keyframes blinkCursor {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #133373;
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant