width of div is decreasing html code example Example: width css /*Based on viewport*/ width: 100vh; width: 100vw;