diff --git a/index.html b/index.html new file mode 100644 index 0000000..cbd71df --- /dev/null +++ b/index.html @@ -0,0 +1,105 @@ + + + + + + + Form-Final + + + + + +
+
+
+ + Step 1: Your Details +
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
+ +
+
+ + Step 2: Delivery Address + +
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
+ +
+
+ + Step 3: Card Details + +
    +
  • + + + +
      +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
+ +
+ +
+ +
+ + + +
+
+ + + \ No newline at end of file diff --git a/main.css b/main.css new file mode 100644 index 0000000..b2188a3 --- /dev/null +++ b/main.css @@ -0,0 +1,104 @@ +.container { + max-width: 500px; + margin: auto; +} + + + +form { + background-color: rgba(125, 197, 92, 0.849); +} + +fieldset { + border: none; +} + +ul { + padding: 0; + list-style-type: none; + display: flex; + flex-direction: column; +} + +li { + border: 1px white solid; + border-radius: 5px; + margin: 2px 0; + padding: 10px; + background-color: rgba(166, 245, 129, 0.849); + text-align: center; +} + + +input { + border-radius: 2px; + border: none; +} + +legend { + font-weight: bold; + font-family: Georgia, 'Times New Roman', Times, serif +} + +li label { + float: left; +} + + +input[type="text"], +input[type="number"] { + width: 200px; + max-width: 100%; + float: right; + margin-right: 25%; +} + +#user_address { + height: 4em; +} + +.centerAlign { + margin: 0 auto; + display: block; + width: max-content; + text-align: center; + /* border: solid black 1px; */ +} + + +button { + background-color: rgba(18, 53, 2, 0.849); + border-radius: 50px ; + padding: 10px; + color: white; + width: 150%; + border: none; + } + + #cardOptions { + margin: 0; + padding: 0; + display: flexbox; + flex-direction: row; +} + +#cardType { + display: block; + padding: 10px 0; + float: none; + text-align: left; +} + +.creditCards { + border: none; + display: inline; + justify-content: left; + margin: 0 20px 0 0; +} + +.creditCards label { + float: none; +} + + +