Pavle_nis

Contact CSS

Apr 3rd, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.54 KB | None | 0 0
  1. #tf-contact{
  2.     background: url(../img/08.jpg);
  3.     background-size: cover;
  4.     background-position: center;
  5.     background-attachment: scroll;
  6.     background-repeat: no-repeat;
  7.     padding: 5% 0;
  8.     text-align: center;
  9. }
  10.  
  11. form#contact {
  12.     padding: 5%;
  13.     background: #f1f1f1;
  14.     outline: 6px solid rgba(34, 34, 34, 0.08);
  15. }
  16.  
  17. #tf-contact input.form-control {
  18.     height: 40px;
  19. }
  20.  
  21. #tf-contact .form-control{
  22.     display: block;
  23.     width: 100%;
  24.     margin-bottom: 20px;
  25.     padding: 16px 12px;
  26.     font-size: 14px;
  27.     line-height: 1.42857143;
  28.     color: #555;
  29.     background-color: #FFF;
  30.     background-image: none;
  31.     border: 1px solid #FFF;
  32.     border-radius: 0;
  33.     border-top: 2px solid transparent;
  34.     -webkit-box-shadow: none;
  35.     box-shadow: none;
  36.     -webkit-transition: none;
  37.     -o-transition: none;
  38.     transition: all 0.8s;
  39. }
  40. #tf-contact .form-control:focus,
  41. #tf-contact .form-control:hover{
  42.     border-top: 2px solid #2F937B;
  43. }
  44. .section-title h2{ font-weight: 700;}
  45.  
  46. button.btn,
  47. a.btn {
  48.     margin: 15px 5px;
  49.     transition: all 0.5s;
  50. }
  51. button.btn.btn-primary.my-btn,
  52. a.btn.btn-primary.my-btn {
  53.     background: #2F937B;
  54.     border-color: transparent;
  55.     border-radius: 0px;
  56.     border-width: 2px;
  57.     padding: 10px 30px;
  58.     text-transform: uppercase;
  59.     font-size: 12px;
  60.     letter-spacing: 1px;
  61.     font-weight: 600;
  62. }
  63. button.btn.btn-primary.my-btn:hover,
  64. a.btn.btn-primary.my-btn:hover{
  65.     background: #FFFFFF;
  66.     color: #2F937B;
  67.     border-color: transparent;
  68. }
  69. button.btn.btn-primary.my-btn.dark:hover,
  70. a.btn.btn-primary.my-btn.dark:hover{
  71.     background: #222222;
  72.     color: #ffffff;
  73.     border-color: transparent;
  74. }
Add Comment
Please, Sign In to add comment