Category / Code

    Loading posts...
  • htaccess file

    Restrict Access to Your Website with .htaccess

    Read Time: 3 minutes When I come across things in my own world of website work, I make note of them so I can share them later. The .htaccess file is a quick way to block an IP address or domain if your website is having security problems or if you wish to restrict access to your site for…

  • HTML Anchor

    Adding an HTML Anchor

    Read Time: < 1 minute Page anchors are links on a page that allow visitors to jump to a specified location on that page or on another page. Page anchors can be useful in a variety of situations, such as when there is a lot of information on one page and visitors need to be able to jump to the…

  • CSS Gradient Animation

    Gradient Animation CSS Box

    Read Time: < 1 minute This is a neat piece of code to add subtle motion to your sites…a gradient animation css box. Style: .box{ /* box styles */ position: relative; color:#fff; text-align:center; font-family:Gotham, “Helvetica Neue”, Helvetica, Arial, “sans-serif”; font-size:45px; font-weight:bold; text-transform:uppercase; width:300px; margin:50px auto; background-color:#000; padding:40px; } .box::before{ content: ”; position: absolute; top: 0; left: 0; width: calc(100% +…