Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4. <head>
  5. <style>
  6. html {
  7. font-family: Arial;
  8. }
  9. .shorten-options {
  10. position: absolute;
  11. top: 160px;
  12. left: 650px;
  13. width: 680px;
  14. }
  15.  
  16. input[type="text"], .shorten-button {
  17. border: 1px solid black;
  18. }
  19.  
  20. .url-input, .custom-input {
  21. font-size: 45px;
  22. margin-bottom: 4px;
  23. padding-left: .2em;
  24. padding-right: .2em;
  25. }
  26. .url-input, .shorten-button, .custom-input {
  27. box-sizing: border-box;
  28. }
  29. .url-input {
  30. height: 60px;
  31. width: 100%;
  32. padding-right: 125px;
  33. }
  34. .shorten-button {
  35. position: absolute;
  36. top: 0;
  37. right: 0;
  38. height: 60px;
  39. width: 120px;
  40.  
  41. padding: 1px 5px 1px 5px;
  42. font-size: 200%;
  43. box-shadow: none;
  44. background-color: rgb(100, 200, 100);
  45. color: white;
  46. -webkit-appearance: none;
  47. }
  48. .shorten-button:focus {
  49. outline-color: rgb(0, 255, 0);
  50. }
  51. .shorten-button:hover {
  52. background-color: rgb(90, 190, 90);
  53. color: rgb(240, 240, 240);
  54. }
  55. .shorten-button:active {
  56. background-color: rgb(85, 180, 85);
  57. color: rgb(220, 220, 220);
  58. }
  59. .custom-input {
  60. height: 35px;
  61. width: 100%;
  62. font-size: 30px;
  63. }
  64. .custom-input-span {
  65. display: table-cell;
  66. width: 100%;
  67. }
  68. .site-name {
  69. font-size: 30px;
  70. display: table-cell;
  71. padding-right: 5px;
  72. }
  73. </style>
  74. </head>
  75. <body>
  76. <div class="shorten-options">
  77. <input type="text" placeholder="url to shorten" class="url-input" tabindex="1">
  78. <button class="shorten-button" tabindex="3">shorten</button>
  79. <br>
  80. <span class="site-name">urlmem.com/</span>
  81. <span class="custom-input-span">
  82. <input type="text" placeholder="optional custom url" class="custom-input" tabindex="2">
  83. </span>
  84. </div>
  85. </body>
  86. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement