Guest User

simple floating image code

a guest
Nov 1st, 2021
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. <br><br>
  2. <div class="container mx-auto px-40"> <div class="shadow-md w-400 h-400 bg-yellow-300
  3. rounded-lg">
  4. <p><img class="float-right p-2" src="https://via.placeholder.com/150">
  5. <p class="text-justify "><h4><b><i>Title ✤ Other Title?</i></b></h4>
  6. <small><small> This is what text looks like in this box you can just keep going like this and hopefully the image to the side will stay floating and not break please so text needs to be a few small lines.</small></small>
  7. </p> </div></div></div>
  8.  
  9. <br><br>
  10. <div class="container mx-auto px-40"> <div class="shadow-md w-400 h-400 bg-blue-300
  11. rounded-lg">
  12. <p><img class="float-right p-2" src="https://via.placeholder.com/150">
  13. <p class="text-justify "><h4><b><i>Title ✤ Other Title?</i></b></h4>
  14. <small><small> This is what text looks like in this box you can just keep going like this and hopefully the image to the side will stay floating and not break please so text needs to be a few small lines.</small></small>
  15. </p> </div></div></div>
  16.  
  17. <br><br>
  18. <div class="container mx-auto px-40"> <div class="shadow-md w-400 h-400 bg-red-300
  19. rounded-lg">
  20. <p><img class="float-right p-2" src="https://via.placeholder.com/150">
  21. <p class="text-justify "><h4><b><i>Title ✤ Other Title?</i></b></h4>
  22. <small><small> This is what text looks like in this box you can just keep going like this and hopefully the image to the side will stay floating and not break please so text needs to be a few small lines.</small></small>
  23. </p> </div></div></div>
  24.  
  25. <br><br>
  26. <div class="container mx-auto px-40"> <div class="shadow-md w-400 h-400 bg-green-300
  27. rounded-lg">
  28. <p><img class="float-right p-2" src="https://via.placeholder.com/150">
  29. <p class="text-justify "><h4><b><i>Title ✤ Other Title?</i></b></h4>
  30. <small><small> This is what text looks like in this box you can just keep going like this and hopefully the image to the side will stay floating and not break please so text needs to be a few small lines.</small></small>
  31. </p> </div></div></div>
  32.  
  33. <br><br>
  34. <div class="container mx-auto px-40"> <div class="shadow-md w-400 h-400 bg-purple-300
  35. rounded-lg">
  36. <p><img class="float-right p-2" src="https://via.placeholder.com/150">
  37. <p class="text-justify "><h4><b><i>Title ✤ Other Title?</i></b></h4>
  38. <small><small> This is what text looks like in this box you can just keep going like this and hopefully the image to the side will stay floating and not break please so text needs to be a few small lines.</small></small>
  39. </p> </div></div></div>
  40.  
  41. <br><br>
  42. <div class="container mx-auto px-40"> <div class="shadow-md w-400 h-400 bg-orange-300
  43. rounded-lg">
  44. <p><img class="float-right p-2" src="https://via.placeholder.com/150">
  45. <p class="text-justify "><h4><b><i>Title ✤ Other Title?</i></b></h4>
  46. <small><small> This is what text looks like in this box you can just keep going like this and hopefully the image to the side will stay floating and not break please so text needs to be a few small lines.</small></small>
  47. </p> </div></div></div>
Advertisement
Add Comment
Please, Sign In to add comment