Skip to content

Virtual Numpad on mobile #12

@mildronize

Description

@mildronize

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;
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions