p element width auto code example Example: width css /*Based on viewport*/ width: 100vh; width: 100vw;