There is a syntax error in your CSS: should be margin:2px; instead of margin;2px;
More Related Contents:
- Vertically center element on HTML page with some content on top (Bootstrap)
- comma after td entry html [closed]
- How can I make a div not larger than its contents?
- How to center a flex container but left-align flex items
- How to create uneven rounded sides on a div?
- input / button elements not shrinking in a flex container
- CSS Cut out circle from a rectangular shape
- Problems with CSS sticky footer
- What is quirks mode?
- How to remove the underline for anchors(links)?
- Using “margin: 0 auto;” in Internet Explorer 8
- Removing margin from flex items when they wrap
- CSS background-size: cover replacement for Mobile Safari
- How can I make a CSS glass/blur effect work for an overlay?
- Html Select box options on Hover?
- :not(:empty) CSS selector is not working?
- How to exclude particular class name in CSS selector?
- How to make div element auto-resize maintaining aspect ratio?
- How to vertically center a Bootstrap carousel-caption?
- Force browsers to load CSS before showing the page
- Is it possible to make a div 50px less than 100% in CSS3? [duplicate]
- How do I prevent the padding property from changing width or height in CSS?
- Div width 100% minus fixed amount of pixels
- How do I style the HTML form validation error messages with CSS?
- Is there a `pointer-events:hoverOnly` or similar in CSS?
- Adding style to file upload button in css
- What are the default values for justify-content & align content?
- Font Awesome & Unicode
- CSS crop string in the middle
- Change image on hover