skip to Main Content

Html – How to show one cols on mobile but three cols on desktop

I'm trying to show three columns on desktop and one column on mobile. How can I do this? The div has to be responsive. Thanks! <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous"> <div class="container"> <div class="row"> <div class="col-md-4 col-md-offset-2 col-sm col-sm-offset-0 col-xs-1">…

VIEW QUESTION

Html – Formatting of a sentence with text box on one line

I have the following Bootstrap row on my page: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous"> <div class="form-group row"> <div class="col-sm-6"> I, <input type="text" asp-for="FullName" class="form-control input-lg" />, </div> <div class="col-sm-6"> hereby acknowledge that I understand my responsibility as an: </div> </div>…

VIEW QUESTION
Back To Top
Search