User:Cameron446:/sandbox test: Difference between revisions
Jump to navigation
Jump to search
Cameron446: (talk | contribs) Undo revision 150385 by Cameron446: (talk) Tag: Undo |
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;"> | ||
<div style="height: 100%; width: 100%; position: relative;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0. | <img src="File:{{{Image1}}}" style="width: 100%; height: 100%; object-fit: cover; display: block;"> | ||
</div> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.3); color: black; 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: 20px; font-weight: bold;">{{{Title1}}}</div> | ||
<div style="font-size: 14px;">{{{Description1}}}</div> | <div style="font-size: 14px;">{{{Description1}}}</div> | ||
Line 12: | Line 14: | ||
<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 style="height: 100%; width: 100%; position: relative;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0. | <img src="File:{{{Image2}}}" style="width: 100%; height: 100%; object-fit: cover; display: block;"> | ||
</div> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.3); color: black; 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: 20px; font-weight: bold;">{{{Title2}}}</div> | ||
<div style="font-size: 14px;">{{{Description2}}}</div> | <div style="font-size: 14px;">{{{Description2}}}</div> | ||
Line 21: | Line 25: | ||
<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 style="height: 100%; width: 100%; position: relative;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0. | <img src="File:{{{Image3}}}" style="width: 100%; height: 100%; object-fit: cover; display: block;"> | ||
</div> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.3); color: black; 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: 20px; font-weight: bold;">{{{Title3}}}</div> | ||
<div style="font-size: 14px;">{{{Description3}}}</div> | <div style="font-size: 14px;">{{{Description3}}}</div> | ||
Line 30: | Line 36: | ||
</tr> | </tr> | ||
</table> | </table> | ||
[[Category:Sandbox Templates]] | |||
[[Category:Sandbox Templates]] | [[Category:Sandbox Templates]] |