We are Strath Union, your Students’ Union - the beating heart of activity for students on Strathclyde campus since 1964.
About Us
We run events year-round where you can let loose, let go, just throw a couple shapes and put your skills on show.
Events
We provide free and confidential advice for students, covering academic support, wellbeing and more.
Advice
University is all about finding friends, finding community, and finding yourself.
Societies
Sports Union
We exist to represent all students at the University of Strathclyde. We make sure your voice is heard across the University and beyond.
Voice
Enhance your CV, develop skills, find a part-time job and get more involved with your local community.
Opportunities
The Union is a great place to meet friends, study, grab lunch or take a break. Have a look and discover our variety of venues.
Food & Drink
Bag the latest Strath branded merch, get the latest student deals and explore memberships available at the Union!
Shop
Cards are a great tool for creating tidy lists. These can be used in combinatation with background colours, either on an individual card or a group of cards.
The examples below show individual cards with various background colours applied. These cards will fit to the full width of the container that they're in, so are more suitable where you have a lot of text to fit in.
<div class="card"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div>
<div class="card bg-turquoise"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div>
<div class="card bg-pink"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div>
<div class="card bg-yellow"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div>
<div class="card bg-blue"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div>
<div class="card bg-red"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div>
These cards are wrapped inside cards-container. On mobile, these look the same as the cards above. However, on a desktop you'll see that the cards inside the cards-container have split into columns. If you have multiple bits of information to add but nothing too text-heavy, this is a nice way to arrange it.
cards-container
The code below contains four cards. To add or remove cards, you will need to look closely at the code and use everything on this page eto help you spot where each card opens and closes. If you're not HTML savvy may find it easier to copy your code into a text editor such as Sublime - it's free, and will allow you structure the code properly so you can clearly spot any errors.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<div class="cards-container"> <div class="card"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="card"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="card"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </div>
Want something a little less neat and tidy? You can use the cards-nudge class in combination with the cards-container class to make every second card drop down below the previous one. Add in some background classes to bring the focus onto one card specifically.
cards-nudge
<div class="cards-container cards-nudge"> <div class="card"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="card bg-blue"> <h3>Card title</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </div>
Proper easy, this one. Just upload your image and then pop it inside a card. No extra classes needed.
This card shows what it looks like when the image as placed as the first item inside the card.
This card shows what it looks like when the image as placed as the second item inside the card.
<div class="cards-container"> <div class="card"> <img alt="Image description" src="/pageassets/people-12.jpg" /> <h3>Card title</h3> <p>Lorem ipsum</p> </div> <div class="card bg-black"> <img alt="Image description" src="/pageassets/people-12.jpg" /> <h3>Card title</h3> <p>Lorem ipsum</p> </div> </div>
You can also set the image to be the background of the card. Just add the card-bg class to your image and you're set. Set any background colour of your choice - the image will be faded over the top!
card-bg
It's better to use the cards-center class here as well, it just looks a bit nicer.
cards-center
Lorem ipsum
<div class="cards-container cards-center"> <div class="card bg-black"> <img alt="Image description" class="card-bg" src="/pageassets/people-12.jpg" /> <h3>Card title</h3> <p>Lorem ipsum</p> </div> <div class="card bg-blue"> <img alt="Image description" class="card-bg" src="/pageassets/people-12.jpg" /> <h3>Card title</h3> <p>Lorem ipsum</p> </div> <div class="card bg-red"> <img alt="Image description" class="card-bg" src="/pageassets/people-12.jpg" /> <h3>Card title</h3> <p>Lorem ipsum</p> </div> <div class="card bg-red"> <img alt="Image description" class="card-bg" src="/pageassets/people-12.jpg" /> <h3>Card title</h3> <p>Lorem ipsum</p> </div> </div>
You can use any sized image here, but if you choose to upload a portrait or landscape image then some parts of the image will be cropped out, as in the examples below.
This card shows what it looks like when the image is placed as the first item inside the card.
This card shows what it looks like when the image is placed as the second item inside the card.
Link your entire card by swapping the div tag for an a tag.
div
a
This one is a bit trickier when creating the content inside - you'll need to use a span for each item, rather than the usual h3 or p. This is because the editor will 'tidy up' the code and wrap everything in the link, so you'll end up with a linked card, a linked header, a linked paragraph, etc. If in doubt, just copy the code from the textarea below.
span
h3
p
Card title Lorem ipsum
<a class="card" href="https://www.youtube.com/shorts/EWaFkBi4knM"> <span class="h3">Card title</span> <span>Lorem ipsum</span> </a>
<div class="cards-container cards-nudge cards-center"> <a class="card bg-blue" href="https://www.youtube.com/shorts/EWaFkBi4knM"> <img alt="Image description" class="card-bg" src="/pageassets/people-12.jpg" /> <span class="h3">Card title</span> <span>Lorem ipsum</span> </a> <a class="card bg-black" href="https://www.youtube.com/shorts/EWaFkBi4knM"> <img alt="Image description" class="card-bg" src="/pageassets/people-12.jpg" /> <span class="h3">Card title</span> <span>Lorem ipsum</span> </a> </div>