Responsive websites

  • Post author:
  • Post category:CSS
  • Post comments:0 Comments

This methodology used 'float' to position elements in the browser. <!-- index.html --> <!DOCTYPE html> <html> <head> <title>My website</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="UTF-8"> <link rel="stylesheet" a href="browser-reset.css"> <link…

Continue ReadingResponsive websites

CSS classes and IDs

  • Post author:
  • Post category:CSS
  • Post comments:0 Comments

Classes and IDs are used to target specific elements in a page. Using classes index.html <!DOCTYPE html> <html> <head> <title>My website</title> <meta charset="UTF-8"> <link rel="stylesheet" a href="browser-reset.css"> <link rel="stylesheet" a…

Continue ReadingCSS classes and IDs