User:Cameron446:/sandbox test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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;"> | ||
<div> <div style="width: 100%; height: 100%; background: url('{{{Image1}}}') no-repeat center center; background-size: cover;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.9); color: white; display: flex; flex-direction: column; align-items: center; padding: 10px; box-sizing: border-box;"> | |||
<div style="font-size: 20px; font-weight: bold;">{{{Title1}}}</div> | |||
<div style="font-size: 14px;">{{{Description1}}}</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 12: | Line 13: | ||
<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;"> | ||
<div> <div style="width: 100%; height: 100%; background: url('{{{Image2}}}') no-repeat center center; background-size: cover;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.9); color: white; display: flex; flex-direction: column; align-items: center; padding: 10px; box-sizing: border-box;"> | |||
<div style="font-size: 20px; font-weight: bold;">{{{Title2}}}</div> | |||
<div style="font-size: 14px;">{{{Description2}}}</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 21: | Line 23: | ||
<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;"> | ||
<div> | <div> <div style="width: 100%; height: 100%; background: url('{{{Image3}}}') no-repeat center center; background-size: cover;"> | ||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.9); color: white; display: flex; flex-direction: column; align-items: center; padding: 10px; box-sizing: border-box;"> | |||
<div style="font-size: 20px; font-weight: bold;">{{{Title3}}}</div> | |||
<div style="font-size: 14px;">{{{Description3}}}</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 30: | Line 33: | ||
</tr> | </tr> | ||
</table> | </table> | ||
[[Category:Sandbox Templates]] | |||
[[Category:Sandbox Templates]] | [[Category:Sandbox Templates]] |