Hello I'm trying to use ::after
to put some text after a submit button,
I tried to use this on a <p>
element and it works fine, but on form elements of input
it doesn't work.
here is my code:
<!DOCTYPE html>
<html>
<head>
<style>
input[type='submit']::after {
content: 'some text';
}
</style>
</head>
<body>
<form>
<input type='submit'>
</form>
</body>
</html>