skip to Main Content

Ubuntu – input box not centering

For some reason, my website isn't centering an input box. Code: @import url("https://fonts.googleapis.com/css?family=Ubuntu"); body { background-color: black; } #textInput { position: absolute; top: 50%; right: 50%; width: 300px; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">…

VIEW QUESTION

Using a div as a border – WordPress

I am creating a new portfolio site. I am using wordpress and coding in a custom html block. I want to use a <div class="hovertrigger" id="hovertrigger1"></div> as border for another <div class="wp-block-gmedia-gallery gmedia-shortcode" id="gallery1">[gmedia id=13]</div>. In other words, "#gmedia-gallery should…

VIEW QUESTION
Back To Top
Search