Skip to main content

Posts

Showing posts from November, 2021

How to get Country Flags Icon in your Blog or Website.

To get Country flags as Icons all you need is little bit of CSS and little bit of HTML. We are going to use this Image as our sprite sheet. What I mean by sprite sheet is using a single Image to get multiple images using coordinates or value. Example if the image is 200 x 200 and the flags is 4 x 2 in of in the script I will specify which country is which flag using this values. Lets get on with the code with better understanding. Here is the full code. You have to edit the code to use in your blog or website < ! -- Add this CSS to your Blog or Website --> <style> .flag { width: 16 px; height: 11 px; background:url(https://blogger.googleusercontent.com/img/a/AVvXsEg2KalgPzn- 32369 Tg3nVwVRPXZJG0vlFItSvUFDoH-KgQ5b9zuqOE7pXM3dTxJqDAToWG7MXgy6XLDgq9wFboUs5nfrJXpAEDyhzxGelaXF9TD7qo4A58uZjcBN4lLflslpWCAXKDuNoZODyalYjXeRpWjoQxw92CGh_3oqVX3ZBnP7drHGPJ8_ehu=s256) no-repeat; no-repeat 0 0 ; margin-right: . 3 em; display: inline-block; } .flag.flag-ad {background-positio

How To Redirect Blogger To Another Site

To " Redirect Blogger " to Another Site follow this steps. Go to Theme CUSTOMIZE (Click on Down Arrow ▼) Edit HTML (Click) Click anywhere on html and press (Ctrl + F) Search for:- <head> Click on it to Copy:- Copied And paste it under <head> which should look like this:- <head> <!-- Redirect --> <meta content= '10;URL=&quot;https://pysnakeblog.blogspot.com/&quot;' http-equiv= 'refresh' /> <!-- Redirect --> Click on Save button. Now whenever someone comes to this Blogspot it will redirect to your given website. - content=10 waiting time in seconds. So here I am waiting for 10 seconds. You can change it to Zero 0 if don't wish to wait content=0. - URL | Replace the URL before pasting into your blogspot html. Views:
Back to Top