form input required *

This commit is contained in:
2022-01-07 14:23:00 +01:00
parent d9ac732fca
commit 1e04d9ab47
2 changed files with 20 additions and 23 deletions
+16 -12
View File
@@ -28,16 +28,16 @@
// z-index: -1;
// }
overflow: visible;
.required{
border-color: red !important;
display: block;
content: " ";
}
// overflow: visible;
// .required{
// border-color: red !important;
// display: block;
// content: " ";
// }
.required::after{
content: " * ";
}
// .required::after{
// content: " * ";
// }
#edit-processed-text{
width: 100%;
@@ -47,12 +47,16 @@
margin-top: 2rem;
width: 100%;
input{
overflow: visible;
// overflow: visible;
width: 100%;
height: 5rem;
::placeholder{
content:"Titre du document";
&:after{
content: "*";
color: red;
}
// ::placeholder{
// content:"Titre du document";
// }
// &::after{
// display: block;