Advertisement
rocketgenius

Demo Poll CSS

Sep 14th, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.24 KB | None | 0 0
  1. .gform_wrapper .gform_heading {
  2.     margin-bottom: 2rem !important;
  3. }
  4. .gform_wrapper li.gfield {
  5.     padding: 0 0 1.5rem 0;
  6.     margin: 0 0 1.5rem 0;
  7. }
  8.  
  9. .gform_wrapper li.gfield label.gfield_label {
  10.     color: rgba(55, 112, 149, 1);
  11.     font-weight: 400;
  12.     font-size: 1.25rem;
  13.     line-height: 1.618;
  14. }
  15.  
  16. .gform_wrapper li.gfield div.ginput_container.ginput_container_radio,
  17. .gform_wrapper li.gfield div.ginput_container.ginput_container_checkbox{
  18.     margin: 0 1rem;
  19.     border-left: 2px solid #eee;
  20.     padding-left: 1rem;
  21. }
  22.  
  23. .gform_wrapper li.gfield label.gfield_label:before {
  24.     display: inline-block;
  25.     margin-right: .5rem;
  26.     background-color: rgba(241, 90, 41, 1);
  27.     color: #fff;
  28.     padding: .25rem .5rem;
  29.     line-height: 1.2;
  30.     font-size: .875rem;
  31.     -webkit-border-radius: 50px;
  32.     -moz-border-radius: 50px;
  33.     border-radius: 50px;
  34. }
  35.  
  36. .gform_wrapper li.gfield:nth-child(1) label.gfield_label:before {
  37.     content: "1";
  38. }
  39.  
  40. .gform_wrapper li.gfield:nth-child(2) label.gfield_label:before {
  41.     content: "2";
  42. }
  43.  
  44. .gform_wrapper li.gfield:nth-child(3) label.gfield_label:before {
  45.     content: "3";
  46. }
  47.  
  48. .gform_wrapper li.gfield:nth-child(4) label.gfield_label:before {
  49.     content: "4";
  50. }
  51.  
  52. .gform_wrapper li.gfield:nth-child(5) label.gfield_label:before {
  53.     content: "5";
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement