Jussia
Jussia

Reputation: 305

How can I make an inline select in materializeCss

How can I make such a select?? enter image description here

tried to do display: inline but it did not work out

Upvotes: 1

Views: 1302

Answers (1)

Ranjit
Ranjit

Reputation: 1724

Please do the following.

Change the HTML part <div class="input-field col s1 inline"> to " <div class="input-field col s12 inline">".

and use the css for inline

.input-field p, .input-field .select-wrapper {
  display: inline-block;
  clear: both;
  float: none;
}

Upvotes: 1

Related Questions