User:Cameron446:/sandbox test: Difference between revisions
Jump to navigation
Jump to search
Cameron446: (talk | contribs) No edit summary Tag: Manual revert |
Cameron446: (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
<td style="width: 33%; padding: 5px; text-align: center;"> | <td style="width: 33%; padding: 5px; text-align: center;"> | ||
<div style="position: relative; width: 100%; height: 200px; border: 1px solid #ddd; border-radius: 5px; overflow: hidden;"> | <div style="position: relative; width: 100%; height: 200px; border: 1px solid #ddd; border-radius: 5px; overflow: hidden;"> | ||
<img src="{{{Image1}}}" style="width: 100%; height: auto; object-fit: cover;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0. | <div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.0); color: black; display: flex; flex-direction: column; align-items: center; padding: 10px; box-sizing: border-box; margin-top: 250px;"> <!-- Adjust margin-top as needed --> | ||
<div style="font-size: 20px; font-weight: bold;">{{{Title1}}}</div> | <div style="font-size: 20px; font-weight: bold;">{{{Title1}}}</div> | ||
<div style="font-size: 14px;">{{{Description1}}}</div> | <div style="font-size: 14px;">{{{Description1}}}</div> | ||
Line 12: | Line 12: | ||
<td style="width: 33%; padding: 5px; text-align: center;"> | <td style="width: 33%; padding: 5px; text-align: center;"> | ||
<div style="position: relative; width: 100%; height: 200px; border: 1px solid #ddd; border-radius: 5px; overflow: hidden;"> | <div style="position: relative; width: 100%; height: 200px; border: 1px solid #ddd; border-radius: 5px; overflow: hidden;"> | ||
<img src="{{{Image2}}}" style="width: 100%; height: auto; object-fit: cover;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0. | <div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.0); color: black; display: flex; flex-direction: column; align-items: center; padding: 10px; box-sizing: border-box; margin-top: 250px;"> <!-- Adjust margin-top as needed --> | ||
<div style="font-size: 20px; font-weight: bold;">{{{Title2}}}</div> | <div style="font-size: 20px; font-weight: bold;">{{{Title2}}}</div> | ||
<div style="font-size: 14px;">{{{Description2}}}</div> | <div style="font-size: 14px;">{{{Description2}}}</div> | ||
Line 21: | Line 21: | ||
<td style="width: 33%; padding: 5px; text-align: center;"> | <td style="width: 33%; padding: 5px; text-align: center;"> | ||
<div style="position: relative; width: 100%; height: 200px; border: 1px solid #ddd; border-radius: 5px; overflow: hidden;"> | <div style="position: relative; width: 100%; height: 200px; border: 1px solid #ddd; border-radius: 5px; overflow: hidden;"> | ||
<img src="{{{Image3}}}" style="width: 100%; height: auto; object-fit: cover;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0. | <div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.0); color: black; display: flex; flex-direction: column; align-items: center; padding: 10px; box-sizing: border-box; margin-top: 250px;"> <!-- Adjust margin-top as needed --> | ||
<div style="font-size: 20px; font-weight: bold;">{{{Title3}}}</div> | <div style="font-size: 20px; font-weight: bold;">{{{Title3}}}</div> | ||
<div style="font-size: 14px;">{{{Description3}}}</div> | <div style="font-size: 14px;">{{{Description3}}}</div> | ||
Line 30: | Line 30: | ||
</tr> | </tr> | ||
</table> | </table> | ||
[[Category:Sandbox Templates]] | |||
[[Category:Sandbox Templates]] | [[Category:Sandbox Templates]] |