我刚刚开始使用Bootstrap.以下是我的页面的快照.

我的CSS是
.snippet img{
width: 150px;
max-width: 100%;
height:auto;
}
@media(max-width: 767px) {
.snippet img{
width:100px;
float: right;
max-width: 100px;
height: auto;
margin-left: 10px;
margin-right: 10px;
}
}
Run Code Online (Sandbox Code Playgroud)
这是我的HTML:
<h2>About the venue</h2>
<div class="media-body snippet" >
<a class="pull-right" href="venue.php">
<img src="images/venue.jpg" alt="illustration"></a>
<p>this is the paragraph ... </p>
</div>
Run Code Online (Sandbox Code Playgroud)
我希望图像在大屏幕上像那样悬挂.但是,在小型设备上,我想让文本环绕图像.我怎样才能做到这一点?
任何帮助,将不胜感激!
我希望用户在搜索框中键入时只看到国家/地区名称。是否可以?

我试过这个(不起作用):
var options = {
types: [('regions')]
};
var searchBox = new google.maps.places.SearchBox(input, options);
Run Code Online (Sandbox Code Playgroud) filtering autocomplete search-box google-maps-api-3 google-places-api
我想知道如何使用 Bootstrap Carousel 显示页码。Bootstrap 有轮播指示器(点):

是否可以将指标更改为“第 1/3 页”之类的内容?
我尝试将数字添加到引导标题并将其移动到左侧:

但是,每当我单击下一步时,该号码都不会留在原处。任何想法如何使这更好?
谢谢!
我正在寻找一种有效的方法来检查短字符串是否在长字符串中。我在这个线程上看到了一些建议: Python effective way to check if very large string contains a substring
但是,我在那里没有看到 find() 的用法。使用 find() 函数是否昂贵?时间复杂度是多少?
我查看了 Wiki 页面,但没有找到 find() 。 https://wiki.python.org/moin/TimeComplexity