daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .required:before
  2.  {
  3.     content: "*";
  4.     font-weight: bold;
  5.     color: Red;
  6.  }
  7.    
  8. <div class="editor-label required">
  9.         Customer Group
  10.     </div>
  11.     <div class="editor-field">
  12.         @Html.DropDownList("GroupId", "")
  13.         @Html.ValidationMessageFor(Function(model) model.GroupId)
  14.     </div>
  15.    
  16. .required:before
  17.  {
  18.     content: "*";
  19.     font-weight: bold;
  20.     color: Red;
  21.     position:absolute;
  22.     left:0;
  23.     top:0;
  24.  }
  25.  
  26. .required{
  27. position:relative;
  28.     padding-left:10px;
  29. }
  30.    
  31. .required, .required:before {
  32.     display: inline-block;
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top