Guest User

Untitled

a guest
Jan 16th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. body {
  2. background-color: green;
  3. }
  4.  
  5. .idxQuestion {
  6. font-size: 36;
  7. text-align: center;
  8. }
  9.  
  10. .idxButtons {
  11. margin-top:60px;
  12. margin-left: auto;
  13. margin-right:auto;
  14. width:350px;
  15. }
  16.  
  17. .buttonchoice1,.buttonchoice2
  18. {
  19. text-align: center;
  20. background:white;
  21. padding: 5px;
  22. }
  23.  
  24. .buttonchoice1 {
  25. float:left;
  26. border:5px solid red;
  27. }
  28.  
  29. .buttonchoice2 {
  30. float:right;
  31. border:5px solid blue;
  32. }
  33.  
  34. .spanchoice1 {
  35. font-size: 30px;
  36. }
  37.  
  38. .spanchoice2 {
  39. font-size: 10px;
  40. }
  41.  
  42. <div class="idxQuestion">
  43. <h1>Big Question?</h1>
  44. </div>
  45. <div class="idxButtons">
  46. <h:button class="buttonchoice1" onclick="option1?faces-redirect=true" >
  47. <h:outputText escape=false>
  48. <span class="spanchoice1">No</span><br />
  49. <span class="spanchoice2">additional info 1</span>
  50. </h:outputText>
  51. </h:button>
  52.  
  53. <h:button class="buttonchoice2" onclick="option2?faces-redirect=true" >
  54. <h:outputText>
  55. <span class="spanchoice1">Yes</span><br />
  56. <span class="spanchoice2">additional info 2</span>
  57. </h:outputText>
  58. </h:button>
  59.  
  60. </div>
  61.  
  62. <div class="idxButtons">
  63. <button class="buttonchoice1" onclick="option1?faces-redirect=true">
  64. <outputText escape=false>
  65. <span class="spanchoice1">No</span><br />
  66. <span class="spanchoice2">additional info 1</span>
  67. </outputText>
  68. </button>
  69. <button class="buttonchoice2" onclick="option2?faces-redirect=true">
  70. <outputText>
  71. <span class="spanchoice1">Yes</span><br />
  72. <span class="spanchoice2">additional info 2</span>
  73. </outputText>
  74. </button>
  75. </div>
  76.  
  77. <div class="idxButtons">
  78. <div class="buttonchoice1">
  79. <h:button onclick="option1?faces-redirect=true" >
  80. <h:outputText escape=false>
  81. <span class="spanchoice1">No</span><br />
  82. <span class="spanchoice2">additional info 1</span>
  83. </h:outputText>
  84. </h:button>
  85. </div>
  86. ....
Add Comment
Please, Sign In to add comment