Skip to content

Raz Rassel

  • Home
  • About Raz
  • Contact Raz
  • Buy Now
YouTube Spotify
Raz Rassel
Web Dev

Center text over image

.container {
position:relative;
}

.absolute-center {
position: absolute;
left: 50%; /* horizontal alignment */
top: 50%; /* vertical alignment */
transform: translate(-50%, -50%); /* horizontal, vertical alignment fine tuning;
explanation: http://stackoverflow.com/q/36817249 */
}

Post navigation

Previous Previous
JS Full Window Height
NextContinue
Reposition Genesis header right widget

Similar Posts

  • Web Dev | Wordpress

    WordPress add class to menu anchor

    Read More WordPress add class to menu anchorContinue

  • Web Dev

    Regex Builder

    Read More Regex BuilderContinue

  • Web Dev

    Remove Browser Meta Title Tooltips

    Read More Remove Browser Meta Title TooltipsContinue

  • Web Dev

    Import CSV to PHPMyAdmin

    Read More Import CSV to PHPMyAdminContinue

  • Web Dev | Wordpress

    Remove Images from WooCommerce pages

    Read More Remove Images from WooCommerce pagesContinue

  • Wordpress

    Genesis add title to Blog page

    Read More Genesis add title to Blog pageContinue

YouTube Spotify
  • Home
  • About Raz
  • Contact Raz
  • Buy Now

© 2025 Raz Rassel

Scroll to top
  • Home
  • About Raz
  • Contact Raz
  • Buy Now