Answers for "how to make width thinnr in form css"

0

how to set border length in css without div

div {
  width   : 200px;
  height  : 50px;   
  position: relative;
  z-index : 1;
  background: #eee;
}

div:before {
  content : "";
  position: absolute;
  left    : 0;
  bottom  : 0;
  height  : 1px;
  width   : 50%;  /* or 100px */
  border-bottom:1px solid magenta;
}
Posted by: Guest on March-27-2020
0

Make a VStack fill the width of the screen in SwiftUI

struct ContentView : View {
        var body: some View {
            VStack(alignment: .leading) {
                Text("Hello World")
                    .font(.title)
                Text("Another")
                    .font(.body)
                Spacer()
            }
            .frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .topLeading)
            .background(Color.red)
        }
    }
Posted by: Guest on November-28-2019

Code answers related to "how to make width thinnr in form css"

Code answers related to "Swift"

Browse Popular Code Answers by Language