Sometimes, creating a table with lots of data on the web can make webpages long and overwhelming. Enter the hero of this story, my responsive scrolling data table with alternating colors. Here is the CSS For the table. #success_table { margin-left: auto; margin-right: auto; border: 1px solid #AFB1B2; } #success_table #table_header { background:#3E4344; color:#fff; font-weight:bold;… Continue reading Styling Tables Like a Boss: Responsive Scrolling Data Tables with Alternating Colors
Category: CSS Tricks
Adding Lines Before & After an Element without JavaScript
Ever seen a title with lined before and after to style it? I needed to have lines around my titles for a website I was building, but I wanted them to dynamically resize around the title. Here is an example of what I mean: Title There are tons of ways to do this, but unfortunately,… Continue reading Adding Lines Before & After an Element without JavaScript