引导程序在旋转木马内部设置了不同大小的图像

时间:2019-05-05 10:04:32

标签: twitter-bootstrap bootstrap-4

我在Bootstrap 4的转盘中放入不同尺寸的图像时遇到麻烦。如何在转盘中放入不同尺寸的图像。

我尝试了以下方法。当我添加较大的图像时,滑块会断裂并占用较大的尺寸。我想把它们都放在里面。参见下面的代码,您将了解我的问题。 :(谢谢。

[[[ 0.00706761  0.046656   -0.04466974 -0.013914    0.0487006
    0.03328419  0.05028608 -0.12029561 -0.05220756  0.12888457]
  [ 0.01965425 -0.03418595  0.02097971 -0.04072326  0.02493513
    0.03347447  0.03150174  0.04017517  0.01390162  0.01696384]
  [ 0.00855179  0.00964748 -0.00197942  0.01201308 -0.02691028
    0.00783106 -0.01128459  0.03081669  0.03418969  0.01622137]
  [ 0.03394147  0.0076699   0.03177908 -0.03289367 -0.03081194
   -0.00469556 -0.0336898  -0.04131025  0.04820279  0.02372042]
  [-0.03988047  0.03992086 -0.00844946  0.00744513 -0.04702805
   -0.04371164  0.01382769 -0.03479009  0.02577004  0.00401884]
  [ 0.02591876  0.02734001 -0.0366477  -0.01569949  0.01086565
    0.03684291 -0.03102111  0.03404767 -0.01787959  0.00302478]
  [ 0.02034514 -0.00858848  0.04090709 -0.01797741  0.03358823
   -0.0144326   0.00880073 -0.03911868  0.02988813  0.03203506]
  [-0.03681076 -0.04931805  0.00678908 -0.00031031 -0.04517877
   -0.03008264  0.0160061  -0.00073483  0.03187067  0.00452354]
  [ 0.02368734 -0.02444141 -0.02862841 -0.01528458  0.03385217
   -0.01664121 -0.01007024 -0.0135533   0.00206635 -0.03103857]
  [ 0.01965425 -0.03418595  0.02097971 -0.04072326  0.02493513
    0.03347447  0.03150174  0.04017517  0.01390162  0.01696384]
  [ 0.01462397  0.02855634 -0.02868593  0.03198255  0.01961834
   -0.03456178  0.00670202  0.00531185 -0.00466459  0.00428813]
  [ 0.03788884  0.01698185 -0.01971841  0.04044599  0.01112462
   -0.04544442  0.02908276  0.00979654  0.0438537   0.01944757]
  [ 0.03153634  0.00903196  0.00654483  0.03713245  0.03164286
   -0.01261046 -0.01802368  0.01080393  0.02275887 -0.03165501]
  [-0.02651081 -0.00145805 -0.03631443  0.01744621  0.02560473
    0.01737703 -0.03741851 -0.00803623 -0.02475913 -0.00385506]
  [ 0.04600314  0.02110196 -0.0099022   0.02634342  0.02614399
   -0.02879816  0.01041861  0.02596435 -0.04501037 -0.02621837]]]

1 个答案:

答案 0 :(得分:-1)

您可以尝试将图片放在ID中并在CSS中自定义