WELCOME TO MY WEBSITE!
.scroll-text-wrapper { width: 100%; overflow: hidden; white-space: nowrap; background-color: white; } .scroll-text { display: inline-block; padding-left: 100%; opacity: 1; /* 100% opacity */ animation: scrollText 12s linear infinite; } @keyframes scrollText { from { transform: translateX(0); } to { transform: translateX(-100%); } }
/* ================= NAVBAR ================= */ .custom-navbar{ width:100%; background:#dcdcdc; height:80px; /* ⭐ CONTROL GREY BACKGROUND HEIGHT HERE */ display:flex; justify-content:space-between; align-items:center; padding:0 30px; /* remove vertical padding since height is fixed */ font-family: Arial, sans-serif; } /* LOGO */ .nav-logo{ display:flex; align-items:center; } .nav-logo img{ height:50px; /* LOGO SIZE */ opacity:1; /* 100% opacity */ transform: scale(1) translateX(0px); /* scale(1.2) = bigger logo translateX(30px) = move right translateX(-30px) = move left */ } /* RIGHT SECTION */ .nav-right{ display:flex; align-items:center; } /* MENU */ .nav-menu{ display:flex; gap:40px; margin-right:30px; } .nav-btn{ text-decoration:none; color:#000; font-weight:500; transition:0.3s; } .nav-btn:hover{ color:#2e7d32; } /* ICONS */ .nav-icons{ display:flex; gap:15px; } .nav-icons a{ color:#000; font-size:18px; transition:0.3s; } .nav-icons a:hover{ transform:scale(1.2); }
test
/* =============================== HISTORY MIDDLE BOX ================================ */ .history-card{ background:#d6d6d6; /* light grey */ padding:30px; font-family: Arial, sans-serif; } /* TITLE */ .history-title{ font-size:28px; font-weight:bold; margin-bottom:20px; color:#0a2e1a; } /* TEXT */ .history-text{ font-size:18px; line-height:1.8; text-align:justify; color:#0a2e1a; } /* READ MORE LINK */ .read-more{ color:#3b7cff; text-decoration:none; font-weight:500; } .read-more:hover{ text-decoration:underline; }
History of Assam Rifles: 190 Years of Glory and Sacrifice

1. The Assam Rifles came into being in 1835, as a militia called the 'Cachar Levy'. With approximately 750 men, this Force was formed to primarily protect British Tea estates and their settlements against tribal raids. Subsequently, all these Forces were reorganized and renamed as the 'Frontier Force' as their role was increased to conduct of punitive expeditions across the borders of Assam. This Force significantly contributed in opening the region to administration and commerce... Read More...

News - History - Achievement /* BODY */ body{ margin:0; background:#0b6b2b; font-family:Arial; } /* MAIN CONTAINER */ .container{ width:95%; margin:auto; padding:20px 0; } /* THREE BOX LAYOUT */ .row{ display:flex; gap:20px; } /* BOX DESIGN */ .box{ background:white; flex:1; padding:15px; position:relative; } .title{ background:#2e4ea1; color:white; padding:10px; margin:-15px -15px 15px -15px; font-weight:bold; } /* LINKS */ a{ display:block; text-decoration:none; color:black; padding:8px 0; } a:hover{ color:#0b6b2b; } /* NEWS SCROLL */ .news-wrapper{ height:140px; overflow:hidden; position:relative; } .news-scroll{ position:absolute; width:100%; animation:newsScroll 15s linear infinite; } @keyframes newsScroll{ 0%{top:100%;} 100%{top:-100%;} } /* HISTORY */ .readmore{ color:#2e4ea1; font-weight:bold; }
History of Assam Rifles

The Assam Rifles came into being in 1835 as a militia called the Cachar Levy. This force significantly contributed in opening the region to administration and commerce and became known as the right arm of civil and left arm of military.

Read More...
AREWA